Exception: Dependabot::SharedHelpers::HelperSubprocessFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dependabot/shared_helpers.rb

Instance Method Summary collapse

Constructor Details

#initialize(message:, error_context:) ⇒ HelperSubprocessFailed

Returns a new instance of HelperSubprocessFailed.



67
68
69
70
71
# File 'lib/dependabot/shared_helpers.rb', line 67

def initialize(message:, error_context:)
  super(message)
  @error_context = error_context
  @command = error_context[:command]
end

Instance Method Details

#raven_contextObject



73
74
75
# File 'lib/dependabot/shared_helpers.rb', line 73

def raven_context
  { fingerprint: [@command], extra: @error_context }
end