]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaGui.ml
now baseuri is needed in each file (and its redefinition is forbidden)
[helm.git] / helm / matita / matitaGui.ml
index b21c3b340e4ea0ce383993228179dd1ee151f393..c9b387178bc8cd1c780de9940d481013a1d035a0 100644 (file)
@@ -186,9 +186,7 @@ class gui () =
         (* log *)
       MatitaLog.set_log_callback self#console#log_callback;
       GtkSignal.user_handler :=
-        (fun exn ->
-           MatitaLog.error
-             (sprintf "Uncaught exception: %s" (Printexc.to_string exn)));
+        (fun exn -> MatitaLog.error (MatitaExcPp.to_string exn));
         (* script *)
       let _ =
         match GSourceView.source_language_from_file BuildTimeConf.lang_file with