Class: Gitlab::ErrorTracking::ContextPayloadGenerator
- Inherits:
-
Object
- Object
- Gitlab::ErrorTracking::ContextPayloadGenerator
- Defined in:
- lib/gitlab/error_tracking/context_payload_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.generate(exception, extra = {}) ⇒ Object
6 7 8 |
# File 'lib/gitlab/error_tracking/context_payload_generator.rb', line 6 def self.generate(exception, extra = {}) new.generate(exception, extra) end |
Instance Method Details
#generate(exception, extra = {}) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/gitlab/error_tracking/context_payload_generator.rb', line 10 def generate(exception, extra = {}) { extra: extra_payload(exception, extra), tags: , user: user_payload } end |