Skip to content

Commit 9b22502

Browse files
Merge branch '5.3' into 5.4
* 5.3: [VarDumper] fix dumping typed references from properties Update README.md [Messenger] [Redis] Allow authentication with user and password [FrameworkBundle] Avoid secrets:decrypt-to-local command to fail fix missing classes
2 parents 3911a71 + e6d10d6 commit 9b22502

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-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);

0 commit comments

Comments
 (0)