Skip to content

Commit

Permalink
Use top level Sentry constant
Browse files Browse the repository at this point in the history
We have a Alchemy::Sentry constant as well, but need the
top level one.
  • Loading branch information
tvdeyen committed Jan 27, 2022
1 parent c3e4466 commit a117635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/alchemy/error_tracking/sentry_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class SentryHandler < BaseHandler
def self.call(exception)
return if ["development", "test"].include?(Rails.env)

Sentry.capture_exception(exception)
::Sentry.capture_exception(exception)
end
end
end
Expand Down

0 comments on commit a117635

Please sign in to comment.