call plugin hooks inside try..except statement
This commit is contained in:
parent
076b949039
commit
8e86ee1a79
|
@ -355,7 +355,12 @@ class ElectrumWindow(QMainWindow):
|
|||
f = eval('p.'+name)
|
||||
except:
|
||||
continue
|
||||
apply(f, args)
|
||||
try:
|
||||
apply(f, args)
|
||||
except:
|
||||
print_error("Plugin error")
|
||||
traceback.print_exc(file=sys.stdout)
|
||||
|
||||
return
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue