more informative message (amending b8a6b2ec85a2);
authorwenzelm
Tue, 30 Jan 2024 21:54:33 +0100
changeset 79553 2ff1c4b92e24
parent 79552 f1c754e60ea0
child 79554 e15fbb37a405
more informative message (amending b8a6b2ec85a2);
src/Pure/Admin/isabelle_cronjob.scala
--- a/src/Pure/Admin/isabelle_cronjob.scala	Tue Jan 30 21:47:37 2024 +0100
+++ b/src/Pure/Admin/isabelle_cronjob.scala	Tue Jan 30 21:54:33 2024 +0100
@@ -480,7 +480,8 @@
         res match {
           case Exn.Res(_) => None
           case Exn.Exn(exn) =>
-            Output.writeln("Exception trace for " + quote(task.name) + ":\n" + Exn.trace(exn))
+            Output.writeln("Exception trace for " + quote(task.name) + ":\n" +
+              Exn.message(exn) + "\n" + Exn.trace(exn))
             val first_line = split_lines(Exn.message(exn)).headOption getOrElse "exception"
             Some(first_line)
         }