Commit 57efc389d4704121a5255a92ae5ac88d27f4f3be
1 parent
6037576d
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
serpro_integration: log error when adding member
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
plugins/serpro_integration/lib/serpro_integration_plugin/gitlab_integration.rb
@@ -46,6 +46,7 @@ class SerproIntegrationPlugin::GitlabIntegration | @@ -46,6 +46,7 @@ class SerproIntegrationPlugin::GitlabIntegration | ||
46 | @client.add_group_member(group.id, user.id, 40) | 46 | @client.add_group_member(group.id, user.id, 40) |
47 | rescue Gitlab::Error::Conflict => e | 47 | rescue Gitlab::Error::Conflict => e |
48 | #already member | 48 | #already member |
49 | + Rails.logger.info e.to_s | ||
49 | end | 50 | end |
50 | user | 51 | user |
51 | end | 52 | end |