From c45d2f7587fccacd9bfeeab1e79de5827606fbdc Mon Sep 17 00:00:00 2001 From: moenodedev <113457600+moenodedev@users.noreply.github.com> Date: Wed, 7 Dec 2022 13:09:11 -0800 Subject: [PATCH] Update the Sentry class name --- guides/source/caching_with_rails.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/source/caching_with_rails.md b/guides/source/caching_with_rails.md index 84c027e11b..d4861252ba 100644 --- a/guides/source/caching_with_rails.md +++ b/guides/source/caching_with_rails.md @@ -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 } } }