Skip to content

Commit 963afc2

Browse files
author
Bryan Sieber
committed
Updates for visibility
1 parent fbb5f5a commit 963afc2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/jbi/router.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ def execute_action(request: BugzillaWebhookRequest, action_map, settings):
6666
except IgnoreInvalidRequestError as exception:
6767
invalid_logger.debug("ignore-invalid-request: %s", exception)
6868
return JSONResponse(content={"error": str(exception)}, status_code=202)
69+
except Exception as exception: # pylint: disable=broad-except
70+
# TODO: Remove when sentry is enabled # pylint: disable=fixme
71+
jbi_logger.debug(
72+
"unknown-exception (%s): %s", type(exception), exception, exc_info=True
73+
)
74+
raise exception
6975

7076

7177
@api_router.post("/bugzilla_webhook")

0 commit comments

Comments
 (0)