Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #209 from akiko-pusu/develop
Browse files Browse the repository at this point in the history
Add exception handling to keep compatibility for Redmine 3.4
  • Loading branch information
akiko-pusu authored Jan 15, 2019
2 parents 49f6a05 + 151a7fa commit 0926334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ def issue_template_version_message(original_message = nil)
permission :manage_issue_templates, { issue_templates_settings: %i[show edit] }, require: :member
end
rescue ::Redmine::PluginRequirementError => e
raise ::Redmine::PluginRequirementError issue_template_version_message(e.message)
raise ::Redmine::PluginRequirementError.new(issue_template_version_message(e.message)) # rubocop:disable Style/RaiseArgs
end
end

0 comments on commit 0926334

Please sign in to comment.