Commit 631e153
committed
refactor: harden error handling and improve observability
Use .expect() instead of .unwrap() on static regex compilation for
a clear panic message. Log print task panics instead of silently
dropping them. Log individual validation violations before retry.
Document the non-atomic TOCTOU risk in the split commit flow.1 parent 9d87954 commit 631e153
2 files changed
Lines changed: 18 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
244 | 246 | | |
245 | 247 | | |
246 | 248 | | |
| |||
531 | 533 | | |
532 | 534 | | |
533 | 535 | | |
534 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
535 | 539 | | |
536 | 540 | | |
537 | 541 | | |
| |||
576 | 580 | | |
577 | 581 | | |
578 | 582 | | |
579 | | - | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
580 | 587 | | |
581 | 588 | | |
582 | 589 | | |
| |||
1068 | 1075 | | |
1069 | 1076 | | |
1070 | 1077 | | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
1071 | 1081 | | |
1072 | 1082 | | |
1073 | 1083 | | |
1074 | | - | |
| 1084 | + | |
1075 | 1085 | | |
1076 | 1086 | | |
1077 | 1087 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
0 commit comments