Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Jul 25, 2024
1 parent 10aff0c commit e89514d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions govtool/backend/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,6 @@ exceptionHandler :: VVAConfig -> Maybe Request -> SomeException -> IO ()
exceptionHandler vvaConfig mRequest exception = do
print mRequest
print exception
let isNotTimeoutThread x = case fromException x of
Just TimeoutThread -> False
_ -> True
isNotConnectionClosedByPeer x = case fromException x of
Just ConnectionClosedByPeer -> False
_ -> True
guard . isNotTimeoutThread $ exception
guard . isNotConnectionClosedByPeer $ exception
let env = sentryEnv vvaConfig
sentryService <-
initRaven
Expand Down

0 comments on commit e89514d

Please sign in to comment.