lib/percheron/commands/abstract.rb in percheron-0.7.7 vs lib/percheron/commands/abstract.rb in percheron-0.7.8
- old
+ new
@@ -27,10 +27,10 @@
end
def execute
stack.valid?
rescue => e
- puts "%s\n%s\n" % [ e.inspect, e.backtrace ]
+ puts "%s\n\n%s\n\n" % [ e.inspect, e.backtrace.join("\n") ]
signal_usage_error(e.message)
end
def stack
return NullStack.new if stack_name.nil?