git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
076b949
)
call plugin hooks inside try..except statement
author
thomasv
<thomasv@gitorious>
Mon, 15 Apr 2013 13:17:06 +0000 (15:17 +0200)
committer
thomasv
<thomasv@gitorious>
Mon, 15 Apr 2013 13:17:06 +0000 (15:17 +0200)
gui/gui_classic.py
patch
|
blob
|
history
diff --git
a/gui/gui_classic.py
b/gui/gui_classic.py
index
e5031df
..
aca1f62
100644
(file)
--- a/
gui/gui_classic.py
+++ b/
gui/gui_classic.py
@@
-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