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.



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

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

Instance Method Details

#raven_contextObject



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

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