Commit a5fca7d
committed
refactor: remove redundant try_exists guard, add debug log
- Remove redundant try_exists check before remove_or_rename_to_old
since it already handles NotFound
- Log the original remove_file error at debug level before falling
back to rename1 parent 334b9a9 commit a5fca7d
2 files changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
413 | | - | |
414 | | - | |
| 412 | + | |
415 | 413 | | |
416 | 414 | | |
417 | 415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
366 | 368 | | |
367 | | - | |
368 | 369 | | |
369 | 370 | | |
370 | 371 | | |
| |||
0 commit comments