mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 21:10:27 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user