]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaGui.ml
- added support for "-nodb" flag (still missing support for matitaclean which relies...
[helm.git] / helm / matita / matitaGui.ml
index 8351426f88702e4191141634596cafd1c2323c6a..5c5b24c4d7aaecc2a4700a5a72b0bea9579d84e4 100644 (file)
@@ -568,7 +568,7 @@ class gui () =
       MatitaLog.set_log_callback self#console#log_callback;
       GtkSignal.user_handler :=
         (fun exn ->
-          if Helm_registry.get_bool "matita.catch_top_level_exn" then
+          if not (Helm_registry.get_bool "matita.debug") then
             MatitaLog.error (MatitaExcPp.to_string exn)
           else raise exn);
         (* script *)