fix: log db-schemas and db-extra-search-path in schema cache load error (#4108)

This commit is contained in:
Taimoor Zaeem
2025-05-30 20:56:04 +02:00
committed by Wolfgang Walther
parent 8531c502d7
commit ba42e4610a
6 changed files with 35 additions and 8 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ dumpSchema appState = do
case result of
Left e -> do
let observer = AppState.getObserver appState
observer $ SchemaCacheErrorObs e
observer $ SchemaCacheErrorObs configDbSchemas configDbExtraSearchPath e
exitFailure
Right sCache -> return $ JSON.encode sCache