Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
806618e6
Unverified
Commit
806618e6
authored
Jun 12, 2020
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3150990
by cburschka: Updater::install() crashes on file transfer exceptions
(cherry picked from commit
8596983c
)
parent
d2cf243c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/lib/Drupal/Core/Updater/Updater.php
core/lib/Drupal/Core/Updater/Updater.php
+1
-1
No files found.
core/lib/Drupal/Core/Updater/Updater.php
View file @
806618e6
...
...
@@ -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
)
.
"'"
)
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment