module ABRT

This might be removed if bugs.ruby-lang.org/issues/6286 gets accepted.

Constants

ABRT_SOCKET_PATH
VAR_RUN

TODO: Get VAR_RUN from ABRT configuration.

Public Class Methods

handle_exception(exception) click to toggle source
# 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.backtrace.last[0] == '/'
end