Skip to content

Commit 4a33d8d

Browse files
authored
Add CacheFlushFailed event
1 parent c643467 commit 4a33d8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DataCollector/CacheCollector.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use DebugBar\DataFormatter\HasDataFormatter;
77
use Illuminate\Cache\Events\{
88
CacheFlushed,
9+
CacheFlushFailed,
910
CacheHit,
1011
CacheMissed,
1112
KeyForgetFailed,
@@ -27,6 +28,7 @@ class CacheCollector extends TimeDataCollector
2728
CacheHit::class => 'hit',
2829
CacheMissed::class => 'missed',
2930
CacheFlushed::class => 'flushed',
31+
CacheFlushFailed::class => 'flush_failed',
3032
KeyWritten::class => 'written',
3133
KeyWriteFailed::class => 'write_failed',
3234
KeyForgotten::class => 'forgotten',

0 commit comments

Comments
 (0)