lib/cli/runner.rb in vmc-IronFoundry-0.3.16.IF.1 vs lib/cli/runner.rb in vmc-IronFoundry-0.3.16.IF.2
- old
+ new
@@ -287,11 +287,11 @@
if @args.size > 1
usage('vmc instances <appname> <num|delta>')
set_cmd(:apps, :instances, 2)
else
usage('vmc instances <appname>')
- set_cmd(:apps, :instances, @args.size == 1 ? 1 : 0)
+ set_cmd(:apps, :instances, 1)
end
when 'crashes'
usage('vmc crashes <appname>')
set_cmd(:apps, :crashes, 1)
@@ -487,10 +487,9 @@
puts "Not Authorized".red
end
@exit_status = false
rescue VMC::Client::TargetError, VMC::Client::NotFound, VMC::Client::BadTarget => e
puts e.message.red
- puts e.backtrace
@exit_status = false
rescue VMC::Client::HTTPException => e
puts e.message.red
@exit_status = false
rescue VMC::Cli::GracefulExit => e