projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3340f95
)
improve error reporting on booh-backend unexpected error
author
Guillaume Cottenceau
<gcottenc@gmail.com>
Tue, 4 Jan 2011 21:07:55 +0000
(22:07 +0100)
committer
Guillaume Cottenceau
<gcottenc@gmail.com>
Tue, 4 Jan 2011 21:07:55 +0000
(22:07 +0100)
bin/booh
patch
|
blob
|
history
diff --git
a/bin/booh
b/bin/booh
index
4a4f660
..
25d501f
100644
(file)
--- a/
bin/booh
+++ b/
bin/booh
@@
-2203,7
+2203,9
@@
def call_backend(cmd, waitmsg, mode, params)
#- say nothing, user aborted
else
gtk_thread_protect { show_popup($main_window,
- utf8(_("There was something wrong, sorry:\n\n%s") % $diemsg)) }
+ utf8($diemsg ? _("Unexpected internal error, sorry:\n\n%s") % $diemsg :
+ _("Unexpected internal error, sorry.\nCheck console for error message."))) }
+ $diemsg = nil
end
else
exec(cmd)