Class: Ralph::Output::NonzeroExitWarning

Inherits:
Object
  • Object
show all
Defined in:
lib/ralph/output/nonzero_exit_warning.rb

Class Method Summary collapse

Class Method Details

.call(loop_context, result) ⇒ Object



6
7
8
# File 'lib/ralph/output/nonzero_exit_warning.rb', line 6

def self.call(loop_context, result)
  warn "\n⚠️  #{loop_context.agent.config_name} exited with code #{result.exit_code}. Continuing to next iteration."
end