URI: 
       temail_requests: Catch all connection related exceptions - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 8f31d224aa30bf9fc1a080e5e52e08b9c984caab
   DIR parent ba658180d9ff091fce10a2cb8290fcc48e10a22e
  HTML Author: Johann Bauer <bauerj@bauerj.eu>
       Date:   Fri, 23 Mar 2018 15:17:31 +0100
       
       email_requests: Catch all connection related exceptions
       
       Closes: #4160
       Closes: #4105
       
       Diffstat:
         M plugins/email_requests/qt.py        |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/plugins/email_requests/qt.py b/plugins/email_requests/qt.py
       t@@ -87,7 +87,7 @@ class Processor(threading.Thread, PrintError):
                    try:
                        self.M = imaplib.IMAP4_SSL(self.imap_server)
                        self.M.login(self.username, self.password)
       -            except imaplib.IMAP4.error as e:
       +            except BaseException as e:
                        self.print_error(e)
                        self.connect_wait *= 2
                    # Reconnect when host changes
       t@@ -111,7 +111,7 @@ class Processor(threading.Thread, PrintError):
                    s.login(self.username, self.password)
                    s.sendmail(self.username, [recipient], msg.as_string())
                    s.quit()
       -        except smtplib.SMTPException as e:
       +        except BaseException as e:
                    self.print_error(e)