electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 8e86ee1a79b526f19f225cb536174f71e66d2af9
parent 076b94903919d0c582fe3a6c1c2db8179444b627
Author: thomasv <thomasv@gitorious>
Date:   Mon, 15 Apr 2013 15:17:06 +0200

call plugin hooks inside try..except statement

Diffstat:
Mgui/gui_classic.py | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 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