Module: ABRT
- Defined in:
- lib/abrt/exception.rb,
lib/abrt/handler.rb
Overview
This might be removed if bugs.ruby-lang.org/issues/6286 gets accepted.
Defined Under Namespace
Modules: Exception
Class Method Summary collapse
Class Method Details
.handle_exception(exception) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/abrt/handler.rb', line 7 def self.handle_exception(exception) exception.extend(ABRT::Exception) syslog.notice "detected unhandled Ruby exception in '#{exception.executable}'" # Report only scripts with absolute path. write_dump(exception) if exception.executable[0, 1] == '/' end |