Fix in debug errors

This commit is contained in:
Antonio de la Rosa 2019-03-05 00:26:30 +01:00
parent b20d8696a8
commit 2f3a97dbd2

View file

@ -26,13 +26,12 @@ class ErrorReportingPlugin(object):
return rv
except:
except Exception as exception:
#print('detected error')
# Send mail with error.
if email_failed!='':
if email_failed!='' and type(exception).__name__!='HTTPResponse':
sendmail=SendMail()