Remove unneeded extra logging call

This commit is contained in:
Joseph Schorr 2014-11-03 17:17:05 -05:00
parent 8bffbde4ae
commit 6adf4644b4

View file

@ -132,7 +132,6 @@ def handle_dme(ex):
@app.errorhandler(CannotSendEmailException) @app.errorhandler(CannotSendEmailException)
def handle_emailexception(ex): def handle_emailexception(ex):
logger.exception(ex)
message = 'Could not send email. Please contact an administrator and report this problem.' message = 'Could not send email. Please contact an administrator and report this problem.'
return make_response(json.dumps({'message': message}), 400) return make_response(json.dumps({'message': message}), 400)