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:
Go MAEDA
2019-05-25 06:50:25 +00:00
parent a12b7bcf29
commit b0e17e8199
28 changed files with 40 additions and 44 deletions

View File

@@ -52,7 +52,7 @@ class ProjectNestedSetConcurrencyTest < ActiveSupport::TestCase
c2.reload.destroy
c1.reload.destroy
end
rescue Exception => e
rescue => e
Thread.current[:exception] = e.message
end
end