Class: CloudFormation::Bridge::StdoutExceptionNotifier

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/cloud_formation/bridge/exception_notifier.rb

Instance Method Summary collapse

Instance Method Details

#report_exception(exception, custom_data = {}, user_data = {}) ⇒ Object



17
18
19
# File 'lib/cloud_formation/bridge/exception_notifier.rb', line 17

def report_exception(exception, custom_data = {}, user_data = {})
  puts "#{exception.message} - #{custom_data.inspect} - #{user_data.inspect}\n#{exception.backtrace.join("\n")}"
end