Skip to content

Commit

Permalink
really fix it now?
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed Aug 21, 2024
1 parent d334a2b commit 5e51d6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class SentryDataCache {
initial.forEach(e => this.pushEvent(e));
}

setSidecarUrl(url: string) {
setSidecarUrl(url: string | null) {
if (!url) {
this.contextLinesProvider = null;
return;
Expand Down
2 changes: 2 additions & 0 deletions packages/overlay/src/integrations/sentry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ export default function sentryIntegration(options: SentryIntegrationOptions = {}
}
if (options.sidecarUrl) {
sentryDataCache.setSidecarUrl(options.sidecarUrl);
} else if ('sidecarUrl' in options) {
sentryDataCache.setSidecarUrl(null);
}
addSpotlightIntegrationToSentry(options);

Expand Down

0 comments on commit 5e51d6c

Please sign in to comment.