improve error reporting on booh-backend unexpected error
[booh] / 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)