Skip to content

Commit

Permalink
Make #raven_error? and #excluded_exception? methods private
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija committed Oct 11, 2024
1 parent a2371cc commit 7243cb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/raven/configuration.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7243cb6

Please sign in to comment.