]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaMathView.ml
New implementation for localized exceptions.
[helm.git] / helm / matita / matitaMathView.ml
index 710efdf021a118aada8820ede5c009b242a11495..507837c15cb239e995d174534f83f9e1acf56252 100644 (file)
@@ -672,7 +672,7 @@ class cicBrowser_impl ~(history:MatitaTypes.mathViewer_entry MatitaMisc.history)
       f ()
     with exn ->
       if not (Helm_registry.get_bool "matita.debug") then
-        fail (MatitaExcPp.to_string exn)
+        fail (snd (MatitaExcPp.to_string exn))
       else raise exn
   in
   let handle_error' f = (fun () -> handle_error (fun () -> f ())) in