diff --git a/lib/review/pdfmaker.rb b/lib/review/pdfmaker.rb index 949aaee5d..e1e53adff 100644 --- a/lib/review/pdfmaker.rb +++ b/lib/review/pdfmaker.rb @@ -134,9 +134,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