Commit 1c3908d
committed
Log worker SIGTERM exits at info level instead of error
During graceful shutdown (e.g. Heroku deploy), workers receive SIGTERM
and exit with code -15. This is expected behavior, not an error. Also
stops double-logging signal exits by limiting the generic exit code
error log to positive (non-signal) exit codes.1 parent cda461b commit 1c3908d
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
216 | 219 | | |
217 | 220 | | |
218 | 221 | | |
| |||
0 commit comments