--- 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)
}