File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed
Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ function (CacheItemInterface $item) use ($entry) {
232232 $ this ->interactiveSlideCache ->get (self ::CACHE_KEY_RESOURCES , fn () => $ watchedResources );
233233
234234 return $ result ;
235- } catch (InteractiveSlideException ) {
235+ } catch (\ Exception ) {
236236 return [
237237 'resource ' => $ resource ,
238238 'from ' => $ startFormatted ,
@@ -368,10 +368,13 @@ function (CacheItemInterface $item) use ($now): \DateTime {
368368
369369 $ status = $ response ->getStatusCode ();
370370
371- return ['status ' => $ status , 'interval ' => [
372- 'from ' => $ start ->format ('c ' ),
373- 'to ' => $ startPlusDuration ->format ('c ' ),
374- ]];
371+ return [
372+ 'status ' => $ status ,
373+ 'interval ' => [
374+ 'from ' => $ start ->format ('c ' ),
375+ 'to ' => $ startPlusDuration ->format ('c ' ),
376+ ],
377+ ];
375378 }
376379
377380 /**
You can’t perform that action at this time.
0 commit comments