Skip to content

Commit 8badd64

Browse files
Merge branch '5.4' into 6.0
* 5.4: [VarDumper] fix dumping typed references from properties [VarDumper] minor optim on PHP 8.1 Update README.md [Messenger] [Redis] Allow authentication with user and password [Cache] Throw ValueError in debug mode when serialization fails [FrameworkBundle] Avoid secrets:decrypt-to-local command to fail fix missing classes Mattermost Notifier option to post in an other channel [Messenger] Add WorkerMetadata to Worker class
2 parents 24c657d + 9b22502 commit 8badd64

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Command/SecretsDecryptToLocalCommand.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9191

9292
foreach ($secrets as $k => $v) {
9393
if (null === $v) {
94-
$io->error($this->vault->getLastMessage());
95-
96-
return 1;
94+
$io->error($this->vault->getLastMessage() ?? sprintf('Secret "%s" has been skipped as there was an error reading it.', $k));
95+
continue;
9796
}
9897

9998
$this->localVault->seal($k, $v);

Resources/config/cache.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@
195195
->set('cache.default_marshaller', DefaultMarshaller::class)
196196
->args([
197197
null, // use igbinary_serialize() when available
198+
'%kernel.debug%',
198199
])
199200

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

0 commit comments

Comments
 (0)