Class: Exceptional::AlertData
- Inherits:
-
ExceptionData
- Object
- ExceptionData
- Exceptional::AlertData
- Defined in:
- lib/exceptional/alert_data.rb
Instance Method Summary collapse
-
#extra_data ⇒ Object
Overwrite backtrace, since it is irrelevant.
Methods inherited from ExceptionData
#context_stuff, #extra_stuff, #extract_http_headers, #framework, #initialize, sanitize_hash, sanitize_session, #to_hash, #to_json, #uniqueness_hash
Constructor Details
This class inherits a constructor from Exceptional::ExceptionData
Instance Method Details
#extra_data ⇒ Object
Overwrite backtrace, since it is irrelevant
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/exceptional/alert_data.rb', line 4 def extra_data { 'exception' => { 'exception_class' => @exception.class.to_s, 'message' => @exception., 'backtrace' => "", 'occurred_at' => Time.now } } end |