summaryrefslogtreecommitdiff
path: root/spec/support
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 /spec/support
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 'spec/support')
-rw-r--r--spec/support/shared_examples/services/base_helm_service_shared_examples.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared_examples/services/base_helm_service_shared_examples.rb b/spec/support/shared_examples/services/base_helm_service_shared_examples.rb
index e2f1a18e9f6..78a8e49fd76 100644
--- a/spec/support/shared_examples/services/base_helm_service_shared_examples.rb
+++ b/spec/support/shared_examples/services/base_helm_service_shared_examples.rb
@@ -3,8 +3,6 @@
shared_examples 'logs kubernetes errors' do
let(:error_hash) do
{
- exception: error_name,
- message: error_message,
service: service.class.name,
app_id: application.id,
project_ids: application.cluster.project_ids,
@@ -15,6 +13,8 @@ shared_examples 'logs kubernetes errors' do
let(:logger_hash) do
error_hash.merge(
+ exception: error_name,
+ message: error_message,
backtrace: instance_of(Array)
)
end