This commit is contained in:
SomberNight 2018-07-03 11:01:29 +02:00
parent 83974cd0a8
commit 8b1051fa24
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -283,7 +283,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
def on_error(self, exc_info):
if not isinstance(exc_info[1], UserCancelled):
traceback.print_exception(*exc_info)
try:
traceback.print_exception(*exc_info)
except OSError:
pass # see #4418; try to at least show popup:
self.show_error(str(exc_info[1]))
def on_network(self, event, *args):