src/Pure/Admin/isabelle_cronjob.scala
changeset 66923 914935f8a462
parent 66903 c078509d4606
child 66931 4ff031d249b2
equal deleted inserted replaced
66922:5a476a87a535 66923:914935f8a462
   341         res match {
   341         res match {
   342           case Exn.Res(_) => None
   342           case Exn.Res(_) => None
   343           case Exn.Exn(exn) =>
   343           case Exn.Exn(exn) =>
   344             System.err.println("Exception trace for " + quote(task.name) + ":")
   344             System.err.println("Exception trace for " + quote(task.name) + ":")
   345             exn.printStackTrace()
   345             exn.printStackTrace()
   346             val first_line = Library.split_lines(Exn.message(exn)).headOption getOrElse "exception"
   346             val first_line = split_lines(Exn.message(exn)).headOption getOrElse "exception"
   347             Some(first_line)
   347             Some(first_line)
   348         }
   348         }
   349       logger.log_end(end_date, err)
   349       logger.log_end(end_date, err)
   350     }
   350     }
   351 
   351