summaryrefslogtreecommitdiff
path: root/lib/gitlab/changelog/release.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/changelog/release.rb')
-rw-r--r--lib/gitlab/changelog/release.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/changelog/release.rb b/lib/gitlab/changelog/release.rb
index a0d598c7464..f782197cc8e 100644
--- a/lib/gitlab/changelog/release.rb
+++ b/lib/gitlab/changelog/release.rb
@@ -67,7 +67,7 @@ module Gitlab
markdown =
begin
@config.template.evaluate(state, data).strip
- rescue TemplateParser::ParseError => e
+ rescue TemplateParser::Error => e
raise Error, e.message
end