summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-05-25 06:50:25 +0000
committerGo MAEDA <maeda@farend.jp>2019-05-25 06:50:25 +0000
commitb0e17e8199bb40d0b1bed2c3dded355f439d8b3a (patch)
tree694b9ccde636af70a5aa515b62d1020a5eac9e62 /bin
parenta12b7bcf2931045e63093adcd765d7c6e022fa05 (diff)
downloadredmine-b0e17e8199bb40d0b1bed2c3dded355f439d8b3a.tar.gz
redmine-b0e17e8199bb40d0b1bed2c3dded355f439d8b3a.zip
Don't rescue Exception class (#31387).
Patch by Go MAEDA and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'bin')
-rw-r--r--bin/changelog.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/changelog.rb b/bin/changelog.rb
index 7862f21eb..2e17f2283 100644
--- a/bin/changelog.rb
+++ b/bin/changelog.rb
@@ -133,7 +133,7 @@ module Redmine
begin
raise if items_per_page == 0 || @no_of_issues == 0
- rescue Exception => e
+ rescue => e
puts "No changelog items to process.\n" +
"Make sure to provide a valid version id as the -i parameter."
exit