Remove unneeded extra logging call
This commit is contained in:
parent
8bffbde4ae
commit
6adf4644b4
1 changed files with 0 additions and 1 deletions
|
@ -132,7 +132,6 @@ def handle_dme(ex):
|
|||
|
||||
@app.errorhandler(CannotSendEmailException)
|
||||
def handle_emailexception(ex):
|
||||
logger.exception(ex)
|
||||
message = 'Could not send email. Please contact an administrator and report this problem.'
|
||||
return make_response(json.dumps({'message': message}), 400)
|
||||
|
||||
|
|
Reference in a new issue