Raise given exception

This commit is contained in:
Rebecca Law
2019-06-25 16:18:48 +01:00
parent 35d2e099f7
commit 2cd657cec6

View File

@@ -68,7 +68,7 @@ def handle_integrity_error(exc):
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
raise
raise exc
@user_blueprint.route('', methods=['POST'])