We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7bdd808 + 9914931 commit a1312d7Copy full SHA for a1312d7
src/Aws/Lambda/Meta/Dispatch.hs
@@ -102,7 +102,7 @@ apiGatewayHandlerCase options lambdaHandler = do
102
Left (handlerError :: Unchecked.SomeException) ->
103
if (Runtime.propagateImpureExceptions . Runtime.apiGatewayDispatcherOptions $ options)
104
then returnErr 500 . toJSON . show $ handlerError
105
- else returnErr 500 . toJSON $ "Something went wrong."
+ else returnErr 500 . toJSON $ ("Something went wrong." :: String)
106
Left err -> returnErr 500 . toJSON $ err
107
Left err -> returnErr 400 . toJSON $ err|]
108
pure $ Meta.Match pat (Meta.NormalB body) []
0 commit comments