Skip to content

Commit

Permalink
better log message when assimilator fails to run specs
Browse files Browse the repository at this point in the history
  • Loading branch information
branch14 committed Jul 22, 2014
1 parent 5820406 commit 8d32e31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/assimilator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ def execute(cmd, env_vars={}, safe=true)

def die(msg)
status('error', msg)
puts "Abort: #{msg}"
puts errormsg = "Abort: #{msg}"
cmd = ['./lib/assimilator.rb', repo, ref, sha, pusher] * ' '
logger.error errormsg + "\n" + cmd
cleanup_processes
exit 1
end
Expand Down

0 comments on commit 8d32e31

Please sign in to comment.