Skip to content

Commit

Permalink
Update the Sentry class name
Browse files Browse the repository at this point in the history
  • Loading branch information
moenodedev committed Dec 7, 2022
1 parent 90a272a commit c45d2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/caching_with_rails.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ config.cache_store = :redis_cache_store, { url: cache_servers,

error_handler: -> (method:, returning:, exception:) {
# Report errors to Sentry as warnings
Raven.capture_exception exception, level: 'warning',
Sentry.capture_exception exception, level: 'warning',
tags: { method: method, returning: returning }
}
}
Expand Down

0 comments on commit c45d2f7

Please sign in to comment.