Unverified Commit a88abca7 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

print stacktrace as string



Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent cd870524
Pipeline #11915 passed with stages
in 10 minutes and 39 seconds
......@@ -69,10 +69,10 @@ object App extends scala.App with Logging {
logger.debug(s"Copying of object $id with type $fT successful")
case ProcessFailure(id, fT, a, ex) if a == "Delete" =>
logger.error(s"Deleting of object $id with type $fT failed: ${ex.getMessage}")
logger.info(ex.getStackTrace)
logger.info(ex.getStackTrace.mkString("\n"))
case ProcessFailure(id, fT, _, ex) =>
logger.error(s"Copying of object $id with type $fT failed: ${ex.getMessage}")
logger.info(ex.getStackTrace)
logger.info(ex.getStackTrace.mkString("\n"))
case ProcessIgnore(id, reason, warn) if warn =>
logger.warn(s"Ignoring object $id: $reason")
case ProcessIgnore(id, reason, _) =>
......
Supports Markdown
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