We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bec508 commit 3e97a3fCopy full SHA for 3e97a3f
src/Sentry/Laravel/Features/CacheIntegration.php
@@ -87,7 +87,10 @@ public function handleCacheEventsForBreadcrumbs(Events\CacheEvent $event): void
87
return;
88
}
89
90
- $displayKey = $this->replaceSessionKey($event->key);
+ $displayKey = '';
91
+ if ($event->key !== null) {
92
+ $displayKey = $this->replaceSessionKey($event->key);
93
+ }
94
95
Integration::addBreadcrumb(new Breadcrumb(
96
Breadcrumb::LEVEL_INFO,
0 commit comments