lib/bovem/configuration.rb in bovem-2.2.1 vs lib/bovem/configuration.rb in bovem-2.2.2

- old
+ new

@@ -93,10 +93,10 @@ begin # Open the file path = file =~ /^#{File::SEPARATOR}/ ? file : ::Pathname.new(file).realpath.to_s logger.info(self.i18n.configuration.using(path)) if logger eval_file(path) - rescue ::Exception => _ + rescue Exception raise Bovem::Errors::InvalidConfiguration.new(self.i18n.configuration.invalid(file)) end end # Eval a configuration file. \ No newline at end of file