From e5bc8b980236caa839a07db0a722b3877964033f Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 4 Jan 2011 22:07:55 +0100 Subject: [PATCH] improve error reporting on booh-backend unexpected error --- bin/booh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.21.3