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



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

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