From: Guillaume Cottenceau Date: Tue, 4 Jan 2011 21:07:55 +0000 (+0100) Subject: improve error reporting on booh-backend unexpected error X-Git-Url: http://git.zarb.org/?p=booh;a=commitdiff_plain;h=e5bc8b980236caa839a07db0a722b3877964033f improve error reporting on booh-backend unexpected error --- diff --git a/bin/booh b/bin/booh index 4a4f660..25d501f 100644 --- 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)