Skip to content

Commit b02c77f

Browse files
Merge pull request rails#46665 from moenodedev/patch-2
Update the Sentry class name
2 parents 90a272a + c45d2f7 commit b02c77f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/caching_with_rails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ config.cache_store = :redis_cache_store, { url: cache_servers,
536536

537537
error_handler: -> (method:, returning:, exception:) {
538538
# Report errors to Sentry as warnings
539-
Raven.capture_exception exception, level: 'warning',
539+
Sentry.capture_exception exception, level: 'warning',
540540
tags: { method: method, returning: returning }
541541
}
542542
}

0 commit comments

Comments
 (0)