mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Added Sentry Session Replay for in Ghost Admin (#20255)
refs https://linear.app/tryghost/issue/SLO-128/enable-sentry-replay-in-admin-adminx-editor - this option lets us replay a session in Sentry when an error happens
This commit is contained in:
parent
6ff08c5c14
commit
ed0a76e985
1 changed files with 6 additions and 1 deletions
|
@ -190,7 +190,12 @@ export default Route.extend(ShortcutsRoute, {
|
|||
// ResizeObserver loop errors occur often from extensions and
|
||||
// embedded content, generally harmless and not useful to report
|
||||
/^ResizeObserver loop completed with undelivered notifications/
|
||||
]
|
||||
],
|
||||
|
||||
// Session Replay on errors
|
||||
// Docs: https://docs.sentry.io/platforms/javascript/session-replay
|
||||
replaysOnErrorSampleRate: 1.0
|
||||
|
||||
};
|
||||
if (this.config.sentry_env === 'development') {
|
||||
sentryConfig.integrations = [new Debug()];
|
||||
|
|
Loading…
Add table
Reference in a new issue