mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 12:30:00 +00:00
Fix in exception of emailing
This commit is contained in:
parent
5ef70890d9
commit
fac0921acf
@ -464,7 +464,7 @@ class WorkerThread(threading.Thread):
|
|||||||
|
|
||||||
sys.stderr = org_stderr
|
sys.stderr = org_stderr
|
||||||
|
|
||||||
except (socket.error, smtplib.SMTPRecipientsRefused, smtplib.SMTPException):
|
except (socket.error, smtplib.SMTPRecipientsRefused, smtplib.SMTPException) as e:
|
||||||
self.queue[self.current]['status'] = STAT_FAIL
|
self.queue[self.current]['status'] = STAT_FAIL
|
||||||
self.UIqueue[self.current]['status'] = _('Failed')
|
self.UIqueue[self.current]['status'] = _('Failed')
|
||||||
self.UIqueue[self.current]['progress'] = "100 %"
|
self.UIqueue[self.current]['progress'] = "100 %"
|
||||||
|
Loading…
Reference in New Issue
Block a user