Skip to content

Commit

Permalink
Merge pull request #1434 from IntersectMBO/1417-sentry-exception-befo…
Browse files Browse the repository at this point in the history
…re-request-could-be-parsed-thread-killed-by-timeout-manager

[#1417] silence timeout errors
  • Loading branch information
MSzalowski authored Jun 26, 2024
2 parents 36a8938 + e93f6c1 commit 24589ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ changes.

### Fixed

- silenced `Thread killed by timeout manager` sentry log [Issue 1417](https://github.com/IntersectMBO/govtool/issues/1417)
- backend is now compiled with -threaded [Issue 1148](https://github.com/IntersectMBO/govtool/issues/1148)
- drep/get-voting-power no longer throws 500 for non-existing dreps. Instead it returns 0 [Issue 1093](https://github.com/IntersectMBO/govtool/issues/1093)
- proposal/list no longer throws 500 error when proposal's url is incorrect [Issue 1073](https://github.com/IntersectMBO/govtool/issues/1073)
Expand Down
1 change: 1 addition & 0 deletions govtool/backend/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ exceptionHandler :: VVAConfig -> Maybe Request -> SomeException -> IO ()
exceptionHandler vvaConfig mRequest exception = do
print mRequest
print exception
guard (show exception /= "Thread killed by timeout manager")
sentryService <-
initRaven
(sentryDSN vvaConfig)
Expand Down

0 comments on commit 24589ab

Please sign in to comment.