summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@odoo.com>2018-05-14 12:02:34 +0200
committerOlivier Dony <odo@odoo.com>2018-06-06 10:26:22 +0200
commitc72eec46f9a6e4ed2c86f37c624ebc3c42471816 (patch)
tree5317a6269236868968aad67fc7c22aaa56fe78ce /addons/web/static/src/js/views/basic/basic_model.js
parent6ef27bb91317dfe49f9ab39f98d00914f7c40e8f (diff)
[FIX] mail: do not shadow SMTP errors with QUIT
When an exception is raised during the course of a normal SMTP session, smtplib's `sendmail()` method will close the channel automatically, so any further attempt at sending SMTP commands will fail with an SMTPServerDisconnected error, even just calling `smtp.quit()`. This will shadow the original error, and make debugging harder. Fixes #1493
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions