Commit ea2a701
Baudbot
fix: report unhealthy when session alias symlink is unreadable
The catch block in checkSessions silently reported ok:true when
readlinkSync threw (EINVAL, EACCES, etc.), masking broken sessions.
Now reports ok:false with the error message so failures surface
in the heartbeat alert.1 parent 799b63d commit ea2a701
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
| |||
0 commit comments