equal
deleted
inserted
replaced
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 |