lib/headdesk/cli_commands/unpack.rb in headdesk-0.12.0 vs lib/headdesk/cli_commands/unpack.rb in headdesk-0.13.0
- old
+ new
@@ -53,11 +53,11 @@
rescue CliError => cli_err
STDERR.puts cli_err.message
CLI.command_help(Thor::Base.shell.new, 'unpack')
exit 1
rescue StandardError => rb_err
- STDERR.puts err.message.red
- STDERR.puts err.backtrace.ai
+ STDERR.puts rb_err.message.red
+ STDERR.puts rb_err.backtrace.ai
exit 1
end
end
end
end