summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorOlivier Dony <odo@odoo.com>2018-05-14 10:02:34 +0000
committerNans Lefebvre <len@odoo.com>2019-05-16 07:02:06 +0000
commit11f0d7cefac14200490ac1c341e483f172854dd9 (patch)
tree18399475447a27770edd68bd43fcd3a21683912f /addons/web/static/src/js/views/basic/basic_controller.js
parent7ffedecf82b595e62e94bd7ba4048c8deda952c3 (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_controller.js')
0 files changed, 0 insertions, 0 deletions