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 d097fc4 commit 1b64eb9Copy full SHA for 1b64eb9
app/Listeners/CacheListener.php
@@ -31,7 +31,12 @@ public function handle(CacheHit|CacheMissed|KeyForgotten|KeyWritten $event): voi
31
return;
32
}
33
34
- if ($config_manager->getValueAsBool('cache_event_logging') === false) {
+ try {
35
+ if ($config_manager->getValueAsBool('cache_event_logging') === false) {
36
+ return;
37
+ }
38
+ } catch (\Exception) {
39
+ // In case of any error (e.g., during initial setup), we do not log cache events.
40
41
42
0 commit comments