summaryrefslogtreecommitdiff
path: root/app/models/project_team.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/project_team.rb')
-rw-r--r--app/models/project_team.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/project_team.rb b/app/models/project_team.rb
index 1a3f362e6a1..a85afada901 100644
--- a/app/models/project_team.rb
+++ b/app/models/project_team.rb
@@ -130,7 +130,7 @@ class ProjectTeam
end
true
- rescue
+ rescue StandardError
false
end
@@ -234,4 +234,4 @@ class ProjectTeam
end
end
-ProjectTeam.prepend_if_ee('EE::ProjectTeam')
+ProjectTeam.prepend_mod_with('ProjectTeam')