Class: BackgroundLite::StdoutErrorReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/background_lite/core_ext/error_reporters/stdout_error_reporter.rb

Overview

Reports error on $stdout.

Class Method Summary collapse

Class Method Details

.report(error) ⇒ Object

Prints the exception’s error message on $stdout.



5
6
7
8
# File 'lib/background_lite/core_ext/error_reporters/stdout_error_reporter.rb', line 5

def self.report(error)
  puts error.message
  puts error.backtrace
end