Skip to content

Commit

Permalink
Issue #3150990 by cburschka: Updater::install() crashes on file trans…
Browse files Browse the repository at this point in the history
…fer exceptions

(cherry picked from commit 8596983c00294091f6c2e90eb3e199c1afa04b67)
  • Loading branch information
alexpott committed Jun 12, 2020
1 parent b28bcde commit b344d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Drupal/Core/Updater/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function install(&$filetransfer, $overrides = []) {
return $this->postInstallTasks();
}
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) . "'");
}
}

Expand Down

0 comments on commit b344d56

Please sign in to comment.