mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 09:45:18 +00:00
fix #4418
This commit is contained in:
parent
83974cd0a8
commit
8b1051fa24
1 changed files with 4 additions and 1 deletions
|
@ -283,7 +283,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
||||||
|
|
||||||
def on_error(self, exc_info):
|
def on_error(self, exc_info):
|
||||||
if not isinstance(exc_info[1], UserCancelled):
|
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]))
|
self.show_error(str(exc_info[1]))
|
||||||
|
|
||||||
def on_network(self, event, *args):
|
def on_network(self, event, *args):
|
||||||
|
|
Loading…
Add table
Reference in a new issue