lib/isolator/notifier.rb in isolator-0.5.0 vs lib/isolator/notifier.rb in isolator-0.6.0
- old
+ new
@@ -46,10 +46,10 @@
notifier.out_of_channel_notify exception.message
end
end
def filtered_backtrace
- backtrace.reject { |line| line =~ /\/(gems|ruby)/ }.take_while { |line| line !~ /ruby/ }
+ Isolator.config.backtrace_filter.call(backtrace)
end
def uniform_notifier_loaded?
return true if defined?(::UniformNotifier)