fix: do not log internal db errors like 'acquisition timeout' when log-level=crit
This commit is contained in:
committed by
Steve Chavez
parent
33891e3a73
commit
dfa875c8c7
@@ -53,7 +53,7 @@ dumpSchema appState = do
|
||||
conf@AppConfig{..} <- AppState.getConfig appState
|
||||
result <-
|
||||
let transaction = if configDbPreparedStatements then SQL.transaction else SQL.unpreparedTransaction in
|
||||
AppState.usePool appState $
|
||||
AppState.usePool appState conf $
|
||||
transaction SQL.ReadCommitted SQL.Read $
|
||||
querySchemaCache conf
|
||||
case result of
|
||||
|
||||
Reference in New Issue
Block a user