more exc_info

This commit is contained in:
Kenneth Kehl
2024-08-15 11:07:36 -07:00
parent 6aed01ea20
commit c0ab7c8a68
12 changed files with 30 additions and 24 deletions

View File

@@ -68,7 +68,7 @@ def handle_integrity_error(exc):
if "ck_user_has_mobile_or_other_auth" in str(exc):
# we don't expect this to trip, so still log error
current_app.logger.exception(
"Check constraint ck_user_has_mobile_or_other_auth triggered"
"Check constraint ck_user_has_mobile_or_other_auth triggered", exc_info=True
)
return (
jsonify(