fix: not logging termination unix signals

Under container environments like ECS, it's hard to know when PostgREST
is being terminated.
This commit is contained in:
steve-chavez
2026-03-20 13:09:10 -05:00
committed by Steve Chavez
parent 12ef63370b
commit 622c6d3f19
6 changed files with 36 additions and 11 deletions
+2
View File
@@ -228,6 +228,8 @@ observationMessages = \case
pure "Looked up a JWT in JWT cache"
JwtCacheEviction ->
pure "Evicted entry from JWT cache"
TerminationUnixSignalObs signal ->
pure $ "Received termination unix signal " <> signal
WarpErrorObs txt ->
pure $ "Warp server error: " <> txt
where