diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-19 18:14:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-19 18:14:42 +0300 |
commit | 0c9606b712220cea41dbaffaa1f19a942398b2aa (patch) | |
tree | ea69987533df6b81eaa4a166f7f96fb69b100ece /lib/api/helpers.rb | |
parent | 6b95202d1c2157c2e7f5135b2cff298470fc77b1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r-- | lib/api/helpers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 4dcca4bdbf9..e967b88e500 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -709,8 +709,8 @@ module API namespace_id: namespace_id, project_id: project_id ) - rescue StandardError => error - Gitlab::AppLogger.warn("Internal Event tracking event failed for event: #{event_name}, message: #{error.message}") + rescue StandardError => e + Gitlab::ErrorTracking.track_and_raise_for_dev_exception(e, event_name: event_name) end def order_by_similarity?(allow_unauthorized: true) |