Closed ignasi35 closed 7 years ago
I think that it is tricky to customise this behaviour due to the capturing of output to a logger.
@markusjura Thoughts?
Yes, even when the conductr-cli
exits with exit code 1, sbt-conductr
will still report it as a success. Cannot really be fixed. Therefore, closing the issue.
I think we can fix this actually - we just need to throw an exception if the return code doesn't equal 0 in sandboxRun
. L322 returns an int after the process exits, so that should capture what we want. @markusjura does that sound reasonable? Want me to take a look at it?
In conductR 2 (macOS) it is required to create network aliases.
When the aliases are missing, the command to start the
sandbox
properly reports that the sandbox can't be started and it even lists the command to solve the issue. But the result of the sbt task is[success]
(painted green) giving the appearance that the command succeeded: