]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/matitaExcPp.ml
syntactic components detached from basic_2 become static_2
[helm.git] / matita / matita / matitaExcPp.ml
index da46ed88c5029d7a3dd43ea3bbdf446accfb1f26..5117b091f9687eef053fe9181bf3476e023e112a 100644 (file)
@@ -241,4 +241,5 @@ let rec to_string exn =
         explain (aux errorll)
   | exn -> None, ("Uncaught exception: " ^ Printexc.to_string exn ^ Printexc.get_backtrace ()))
  with exn ->
-  None, ("Exception raised during pretty-printing of an exception: " ^ Printexc.to_string exn ^ Printexc.get_backtrace ())
+  None, ("Exception raised during pretty-printing of an exception: " ^
+   snd (to_string exn))