diff --git a/lib/review/pdfmaker.rb b/lib/review/pdfmaker.rb index ba8a001bd..06dc0b7d0 100644 --- a/lib/review/pdfmaker.rb +++ b/lib/review/pdfmaker.rb @@ -135,9 +135,7 @@ def execute(*args) I18n.setup(@config['language']) @basedir = File.absolute_path(File.dirname(yamlfile)) - begin - @config.check_version(ReVIEW::VERSION) - rescue ReVIEW::ConfigError => e + unless @config.check_version(ReVIEW::VERSION, exception: false) warn e.message end