Commit ee5f7ca1 authored by Trevor Cappallo's avatar Trevor Cappallo
Browse files

fix email debug

parent 8915716c
......@@ -35,7 +35,7 @@ def __exit_handler(logger, notify):
elif 'DEBUG' in notify and notify['DEBUG']:
addresses = list(set(notify['DEBUG']))
logging.info('Sending full DEBUG email to addresses: %s', ', '.join(addresses))
logger.email_log(addresses)
logger.email_log(addresses, level=logging.DEBUG)
else:
logging.info('No errors found. Email not sent')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment