feat: show PostgREST version in the logs

This commit is contained in:
Laurence Isla
2023-07-07 10:28:27 -05:00
committed by GitHub
parent add10bd10c
commit e752224f14
3 changed files with 16 additions and 1 deletions
+1
View File
@@ -273,6 +273,7 @@ internalConnectionWorker appState = work
where
work = do
AppConfig{..} <- getConfig appState
logWithZTime appState $ "Starting PostgREST " <> T.decodeUtf8 prettyVersion <> "..."
logWithZTime appState "Attempting to connect to the database..."
connected <- establishConnection appState
case connected of