Skip to content

Commit 464111c

Browse files
committed
feat: register Sentry only if sentryEnv is not 'qa'
1 parent 4c31d3e commit 464111c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

govtool/backend/app/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ exceptionHandler vvaConfig sentryService mRequest exception = do
172172
let env = sentryEnv vvaConfig
173173
case mRequest of
174174
Nothing -> return ()
175-
Just _ -> register
175+
Just _ -> when (env /= "qa") $ register
176176
sentryService
177177
"vva.be"
178178
Error

0 commit comments

Comments
 (0)