diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-04-04 14:50:43 +1300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-04-04 20:28:29 +1300 |
commit | a9c855f12c408651e1db41aa5e42aac33aac4084 (patch) | |
tree | 605cfaa8a84981f07dd39334be890f3f60a9cd12 /app | |
parent | 12321771ff4d2aca723e7292ba9aec180470df13 (diff) | |
download | gitlab-ce-a9c855f12c408651e1db41aa5e42aac33aac4084.tar.gz |
Do not send error name and message to Sentry
It's duplication information as we already send the full error object to
Sentry.
Diffstat (limited to 'app')
-rw-r--r-- | app/services/clusters/applications/base_helm_service.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/services/clusters/applications/base_helm_service.rb b/app/services/clusters/applications/base_helm_service.rb index 0e3991b47b7..adaa68b1efb 100644 --- a/app/services/clusters/applications/base_helm_service.rb +++ b/app/services/clusters/applications/base_helm_service.rb @@ -13,16 +13,16 @@ module Clusters def log_error(error) meta = { - exception: error.class.name, error_code: error.respond_to?(:error_code) ? error.error_code : nil, service: self.class.name, app_id: app.id, project_ids: app.cluster.project_ids, - group_ids: app.cluster.group_ids, - message: error.message + group_ids: app.cluster.group_ids } logger_meta = meta.merge( + exception: error.class.name, + message: error.message, backtrace: Gitlab::Profiler.clean_backtrace(error.backtrace) ) |