mirror of https://github.com/rails/rails
Merge pull request #46665 from moenodedev/patch-2
Update the Sentry class name
This commit is contained in:
commit
b02c77f1d5
|
@ -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 }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue