Sha256: 47f125aaf5c9e7381de07ce3fcc94f1c53413ddb66a8069445032818e5dc19ea
Contents?: true
Size: 286 Bytes
Versions: 1
Compression:
Stored size: 286 Bytes
Contents
module ExceptionNotifier module BacktraceCleaner def clean_backtrace(exception) if defined?(Rails) && Rails.respond_to?(:backtrace_cleaner) Rails.backtrace_cleaner.send(:filter, exception.backtrace) else exception.backtrace end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
exception_notification-4.4.0 | lib/exception_notifier/modules/backtrace_cleaner.rb |