fix: clarify error for failed schema cache load

This commit is contained in:
steve-chavez
2022-01-07 09:31:30 +01:00
committed by Wolfgang Walther
parent aa82d2e277
commit 51ee072f84
4 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ postgrestResponse conf maybeDbStructure jsonDbS pgVer pool time req = do
Just dbStructure ->
return dbStructure
Nothing ->
throwError Error.ConnectionLostError
throwError Error.NoSchemaCacheError
apiRequest@ApiRequest{..} <-
liftEither . mapLeft Error.ApiRequestError $