Fix in debug errors
This commit is contained in:
parent
b20d8696a8
commit
2f3a97dbd2
1 changed files with 2 additions and 3 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue