]> matita.cs.unibo.it Git - helm.git/commitdiff
verbosity increased in case of error
authorEnrico Tassi <enrico.tassi@inria.fr>
Wed, 5 Mar 2008 10:18:51 +0000 (10:18 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Wed, 5 Mar 2008 10:18:51 +0000 (10:18 +0000)
helm/software/components/library/librarySync.ml

index 630b51be8a59c4352cf4fe92bbf5d716f6891d1f..9c6c53aeef5e2d43465b98e524c21aecb67112ef 100644 (file)
@@ -169,7 +169,8 @@ let add_single_obj uri obj refinement_toolkit =
         (* EXPERIMENTAL: pretty print the object in natural language *)
        (try !object_declaration_hook uri obj
         with exc ->
-         prerr_endline "Error: object_declaration_hook failed");
+         prerr_endline ("Error: object_declaration_hook failed"^
+          Printexc.to_string exc));
         try 
          HLog.message
           (Printf.sprintf "%s defined" (UriManager.string_of_uri uri))