Commit 177e492
committed
melib/maildir: log error instead of debug_assert!
In MaildirFilePathExt::to_envelope_hash(), don't panic if path is not a
regular file. The watching code might attempt to calculate the hash of a
file that has been removed by others.
Log error instead in the debug log level.
Signed-off-by: Manos Pitsidianakis <[email protected]>1 parent 55d9bb8 commit 177e492
1 file changed
+25
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
455 | 479 | | |
456 | 480 | | |
457 | 481 | | |
| |||
0 commit comments