diff options
Diffstat (limited to 'lib/gitlab/error_tracking/processor')
-rw-r--r-- | lib/gitlab/error_tracking/processor/grpc_error_processor.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/gitlab/error_tracking/processor/grpc_error_processor.rb b/lib/gitlab/error_tracking/processor/grpc_error_processor.rb index e2a9192806f..e835deeea2c 100644 --- a/lib/gitlab/error_tracking/processor/grpc_error_processor.rb +++ b/lib/gitlab/error_tracking/processor/grpc_error_processor.rb @@ -35,7 +35,12 @@ module Gitlab # Worse in new version, no setter! Have to poke at the # instance variable - exception.value = message if message + if message.present? + exceptions.each do |exception| + exception.value = message if valid_exception?(exception) + end + end + event.extra[:grpc_debug_error_string] = debug_str if debug_str end |