Skip to content

Commit

Permalink
Make couple of 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 fe4abc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/raven/configuration.cr
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ module Raven
self.dsn = URI.parse(value)
end

def detect_release : String?
private def detect_release : String?
detect_release_from_env ||
detect_release_from_git ||
detect_release_from_capistrano ||
Expand Down 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 fe4abc2

Please sign in to comment.