]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(Update): Handle upstream exception scenario cleanly 42488/head
authorJosh Richards <josh.t.richards@gmail.com>
Tue, 26 Dec 2023 20:40:16 +0000 (15:40 -0500)
committerGitHub <noreply@github.com>
Tue, 26 Dec 2023 20:40:16 +0000 (15:40 -0500)
Fixes #42476

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
core/Command/App/Update.php

index ca6a6758dbd22936a1eabbbd5135bf478514f613..7d47034398fdbba9c50b40f56f04f33cce7dd53e 100644 (file)
@@ -108,6 +108,7 @@ class Update extends Command {
                                                        'exception' => $e,
                                                ]);
                                                $output->writeln('Error: ' . $e->getMessage());
+                                               $result = false;
                                                $return = 1;
                                        }