lib/pdk/cli/errors.rb in pdk-2.6.1 vs lib/pdk/cli/errors.rb in pdk-2.7.0

- old
+ new

@@ -3,10 +3,10 @@ module PDK module CLI class FatalError < StandardError attr_reader :exit_code - def initialize(msg = _('An unexpected error has occurred. Try running the command again with --debug'), opts = {}) + def initialize(msg = 'An unexpected error has occurred. Try running the command again with --debug', opts = {}) @exit_code = opts.fetch(:exit_code, 1) super(msg) end end