diff --git a/src/raven/configuration.cr b/src/raven/configuration.cr index fbd17a2..12e06b9 100644 --- a/src/raven/configuration.cr +++ b/src/raven/configuration.cr @@ -457,11 +457,11 @@ module Raven false end - def raven_error?(message_or_ex) + private def raven_error?(message_or_ex) message_or_ex.is_a?(Raven::Error) end - def excluded_exception?(ex) + private def excluded_exception?(ex) return false unless ex.is_a?(Exception) return false unless excluded_exceptions.any? do |klass| case klass