From 7cacb78f019451c2175053d93b64c7b16d525366 Mon Sep 17 00:00:00 2001 From: Steffen Jost Date: Wed, 13 Apr 2022 14:54:57 +0200 Subject: [PATCH] chore(error): reinstate previous error message output --- src/Foundation/Yesod/ErrorHandler.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Foundation/Yesod/ErrorHandler.hs b/src/Foundation/Yesod/ErrorHandler.hs index 52162aaac..770687a8c 100644 --- a/src/Foundation/Yesod/ErrorHandler.hs +++ b/src/Foundation/Yesod/ErrorHandler.hs @@ -89,7 +89,7 @@ errorHandler err = do NotFound -> [whamlet|

_{MsgErrorResponseNotFound}|] InternalError err' | "Crash Button" `isPrefixOf` err' -> liftIO $ exitImmediately ExitSuccess -- DEBUG: just for Testing - | otherwise -> encrypted err' [whamlet|

TEST -#{err'}- -#{show decrypted}- #{fromMaybe err' decrypted}|] + | otherwise -> encrypted err' [whamlet|

#{fromMaybe err' decrypted}|] InvalidArgs errs -> [whamlet|