X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaMathView.ml;h=507837c15cb239e995d174534f83f9e1acf56252;hb=78cd354ba5225f6431ab0bab6dcaa548bb5a24c3;hp=710efdf021a118aada8820ede5c009b242a11495;hpb=13d6baa55139729871604c0c3f70a70077ba85ca;p=helm.git diff --git a/helm/matita/matitaMathView.ml b/helm/matita/matitaMathView.ml index 710efdf02..507837c15 100644 --- a/helm/matita/matitaMathView.ml +++ b/helm/matita/matitaMathView.ml @@ -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