summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2019-04-04 14:50:43 +1300
committerThong Kuah <tkuah@gitlab.com>2019-04-04 20:28:29 +1300
commita9c855f12c408651e1db41aa5e42aac33aac4084 (patch)
tree605cfaa8a84981f07dd39334be890f3f60a9cd12 /app
parent12321771ff4d2aca723e7292ba9aec180470df13 (diff)
downloadgitlab-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.rb6
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)
)