Commit de5ccefa authored by Jens Korinth's avatar Jens Korinth

Closes #54 - Tapasco return code is wrong

* would return 0 when Configuration was parsed successfully
* now returning folded result of tasks
parent 60d8e621
......@@ -78,8 +78,8 @@ object Tapasco {
} else {
logger.error("invalid arguments: {}", c.left.get.toString)
logger.error(Usage())
false
}
c.isRight
} catch { case ex: Exception =>
logger.error(ex.toString)
logger.error("Stack trace: {}", ex.getStackTrace() map (_.toString) mkString "\n")
......
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