diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-04-04 04:50:43 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-04-04 10:28:29 +0300 |
commit | a9c855f12c408651e1db41aa5e42aac33aac4084 (patch) | |
tree | 605cfaa8a84981f07dd39334be890f3f60a9cd12 /spec/support/shared_examples/services | |
parent | 12321771ff4d2aca723e7292ba9aec180470df13 (diff) |
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/shared_examples/services')
-rw-r--r-- | spec/support/shared_examples/services/base_helm_service_shared_examples.rb | 4 |
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 |