lib/scide/config.rb in scide-0.0.9 vs lib/scide/config.rb in scide-0.0.10
- old
+ new
@@ -52,10 +52,10 @@
Scide.fail :unexpected, "ERROR: could not read configuration #{@file}"
end
begin
@config = parse_config raw_config
- rescue SyntaxError => err
+ rescue SyntaxError, ArgumentError => err
Scide.fail :malformed_config, "ERROR: could not parse configuration #{@file}\n #{err}"
end
invalid_config 'configuration must be a hash' unless @config.kind_of? Hash