src/Pure/System/command_line.ML
changeset 54387 890e983cb07b
parent 52686 f4871fe80410
child 56303 4cc3f4db3447
--- a/src/Pure/System/command_line.ML	Mon Nov 11 18:37:56 2013 +0100
+++ b/src/Pure/System/command_line.ML	Mon Nov 11 20:00:53 2013 +0100
@@ -19,8 +19,8 @@
       restore_attributes body () handle exn =>
         let
           val _ =
-            Output.error_msg (ML_Compiler.exn_message exn)
-              handle _ => Output.error_msg "Exception raised, but failed to print details!";
+            ML_Compiler.exn_error_message exn
+              handle _ => Output.error_message "Exception raised, but failed to print details!";
         in if Exn.is_interrupt exn then 130 else 1 end;
     in if rc = 0 then () else exit rc end) ();