lib/boxafe/cli.rb in boxafe-0.1.6 vs lib/boxafe/cli.rb in boxafe-0.1.7
- old
+ new
@@ -48,10 +48,10 @@
next
end
begin
box.mount
- rescue OptionError => e
+ rescue Boxafe::OptionError => e
msg = ":#{e.option} option error - #{e.message}"
notify :error, "#{box.name} #{msg}", config.options
puts Paint[msg, :red]
next
end