X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2FmatitacLib.ml;h=a9172cee5a563b43406d37873a7eea76a72ee354;hb=7048db496643fc440aebc6e85dd425886bcd2e56;hp=f248545fba8c6d5caae409eb43fee604273185b2;hpb=7a3c40d0d56ba3c20126f1d2c9f651adc95eaef7;p=helm.git diff --git a/helm/software/matita/matitacLib.ml b/helm/software/matita/matitacLib.ml index f248545fb..a9172cee5 100644 --- a/helm/software/matita/matitacLib.ml +++ b/helm/software/matita/matitacLib.ml @@ -382,6 +382,7 @@ module F = ;; let build options fname = + let matita_debug = Helm_registry.get_bool "matita.debug" in let compile opts fname = try GrafiteSync.push (); @@ -395,7 +396,7 @@ module F = GrafiteParser.pop (); GrafiteSync.pop (); false - | exn -> + | exn when not matita_debug -> HLog.error ("Unexpected " ^ snd(MatitaExcPp.to_string exn)); assert false in