Unverified Commit 806618e6 authored by alexpott's avatar alexpott

Issue #3150990 by cburschka: Updater::install() crashes on file transfer exceptions

(cherry picked from commit 8596983c)
parent d2cf243c
...@@ -291,7 +291,7 @@ public function install(&$filetransfer, $overrides = []) { ...@@ -291,7 +291,7 @@ public function install(&$filetransfer, $overrides = []) {
return $this->postInstallTasks(); return $this->postInstallTasks();
} }
catch (FileTransferException $e) { catch (FileTransferException $e) {
throw new UpdaterFileTransferException("File Transfer failed, reason: '" . strtr($e->getMessage(), $e->arguments)) . "'"; throw new UpdaterFileTransferException("File Transfer failed, reason: '" . strtr($e->getMessage(), $e->arguments) . "'");
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment