summaryrefslogtreecommitdiffstats
path: root/lib/redmine/helpers/gantt.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-05-21 23:53:10 +0000
committerGo MAEDA <maeda@farend.jp>2019-05-21 23:53:10 +0000
commit6d6ea928c83b0d3ac92853e313f0859accf6e355 (patch)
tree8dee8ba5c69df714533e7a2661506cda6fa2aeb2 /lib/redmine/helpers/gantt.rb
parentc9a3c6c7fd212595ae911700b6abdec7e851ee81 (diff)
downloadredmine-6d6ea928c83b0d3ac92853e313f0859accf6e355.tar.gz
redmine-6d6ea928c83b0d3ac92853e313f0859accf6e355.zip
Custom Exception classes should inherit StandardError instead of Exception (#31387).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18187 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/helpers/gantt.rb')
-rw-r--r--lib/redmine/helpers/gantt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb
index 24b4b2300..c42f877e3 100644
--- a/lib/redmine/helpers/gantt.rb
+++ b/lib/redmine/helpers/gantt.rb
@@ -21,7 +21,7 @@ module Redmine
module Helpers
# Simple class to handle gantt chart data
class Gantt
- class MaxLinesLimitReached < Exception
+ class MaxLinesLimitReached < StandardError
end
include ERB::Util