Commit c89de4e
committed
fix(infra): log errors from restart sentinel cleanup instead of silent catch
The empty catch blocks in clearRestartSentinel() and
removeLegacyRestartSentinel() silently swallowed DB write and
file-deletion failures, leaving stale sentinel artifacts that could
trigger spurious recovery flows on next restart.1 parent 3d20614 commit c89de4e
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
228 | 230 | | |
229 | 231 | | |
230 | 232 | | |
| |||
235 | 237 | | |
236 | 238 | | |
237 | 239 | | |
238 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
239 | 243 | | |
240 | 244 | | |
241 | 245 | | |
| |||
0 commit comments