Skip to content

Commit

Permalink
Merge pull request #1664 from kmuto/fix-pdfmaker-exception
Browse files Browse the repository at this point in the history
fix to avoid useless Error
  • Loading branch information
takahashim authored Feb 12, 2021
2 parents e7a5be1 + 6044bda commit e03f2b7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/review/pdfmaker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e03f2b7

Please sign in to comment.