Commit de5ccefa authored by Jens Korinth's avatar Jens Korinth
Browse files

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 { ...@@ -78,8 +78,8 @@ object Tapasco {
} else { } else {
logger.error("invalid arguments: {}", c.left.get.toString) logger.error("invalid arguments: {}", c.left.get.toString)
logger.error(Usage()) logger.error(Usage())
false
} }
c.isRight
} catch { case ex: Exception => } catch { case ex: Exception =>
logger.error(ex.toString) logger.error(ex.toString)
logger.error("Stack trace: {}", ex.getStackTrace() map (_.toString) mkString "\n") 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