mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
Raise given exception
This commit is contained in:
@@ -68,7 +68,7 @@ def handle_integrity_error(exc):
|
|||||||
current_app.logger.exception('Check constraint ck_users_mobile_or_email_auth triggered')
|
current_app.logger.exception('Check constraint ck_users_mobile_or_email_auth triggered')
|
||||||
return jsonify(result='error', message='Mobile number must be set if auth_type is set to sms_auth'), 400
|
return jsonify(result='error', message='Mobile number must be set if auth_type is set to sms_auth'), 400
|
||||||
|
|
||||||
raise
|
raise exc
|
||||||
|
|
||||||
|
|
||||||
@user_blueprint.route('', methods=['POST'])
|
@user_blueprint.route('', methods=['POST'])
|
||||||
|
|||||||
Reference in New Issue
Block a user