Skip to content

Commit 077ca1e

Browse files
[Cache] Throw ValueError in debug mode when serialization fails
1 parent 21b79fc commit 077ca1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Resources/config/cache.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@
217217
->set('cache.default_marshaller', DefaultMarshaller::class)
218218
->args([
219219
null, // use igbinary_serialize() when available
220+
'%kernel.debug%',
220221
])
221222

222223
->set('cache.early_expiration_handler', EarlyExpirationHandler::class)

0 commit comments

Comments
 (0)