diff --git a/CHANGELOG.md b/CHANGELOG.md index 8203eed3b..7cc43abca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,6 +69,7 @@ changes. ### Fixed - silenced `Thread killed by timeout manager` sentry log [Issue 1417](https://github.com/IntersectMBO/govtool/issues/1417) +- silenced `Warp: Client closed connection prematurely` error [Issue 1422](https://github.com/IntersectMBO/govtool/issues/1422) - 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) diff --git a/govtool/backend/app/Main.hs b/govtool/backend/app/Main.hs index 728166b3d..875a50783 100644 --- a/govtool/backend/app/Main.hs +++ b/govtool/backend/app/Main.hs @@ -144,6 +144,7 @@ exceptionHandler vvaConfig mRequest exception = do print mRequest print exception guard (show exception /= "Thread killed by timeout manager") + guard (show exception /= "Warp: Client closed connection prematurely") sentryService <- initRaven (sentryDSN vvaConfig)