Verified Commit 2eaec81d authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

pretty print stacktrace

parent c12f213a
Pipeline #27765 passed with stages
in 5 minutes and 44 seconds
......@@ -44,8 +44,8 @@ object App
.foreach(rec => reportResult(rec))
} catch {
case e: Exception =>
logger.error(e.getMessage)
logger.info(e.getStackTrace)
logger.error(e)
logger.info(e.getStackTrace.mkString("\n"))
sys.exit(1)
} finally {
logger.info("Shutting down application")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment