Commit 166003eb authored by Luna's avatar Luna 😻

run: fix inc() calls in handle_exception

parent aa571338
Pipeline #43053586 passed with stage
in 1 minute
Subproject commit 3d428649514bb858a7434087b2bb185b534b94fa
Subproject commit 8e29d48fd04016f358459f9e953c15b2d0685647
......@@ -216,10 +216,10 @@ def handle_exception(request, exception):
else:
log.exception(f'Error in request: {exception!r}')
request.app.inc('error')
request.app.counters.inc('error')
if status_code == 500:
request.app.inc('error_ise')
request.app.counters.inc('error_ise')
return response.json({
'error': True,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment