Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.

Commit a2f6c6d

Browse files
committed
Add previous exception for some 'unknown errors'
This allows debugging easier, especially when Distill does throw an exception.
1 parent 265d4e6 commit a2f6c6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Installer/DownloadCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ protected function download()
135135
"There was an error downloading %s from symfony.com server:\n%s",
136136
$this->getDownloadedApplicationType(),
137137
$e->getMessage()
138-
));
138+
), null, $e);
139139
}
140140
}
141141

@@ -192,7 +192,7 @@ protected function extract()
192192
"To solve this issue, check the permissions of the %s directory and\n".
193193
"try executing this command again:\n%s",
194194
$this->getDownloadedApplicationType(), getcwd(), $this->getExecutedCommand()
195-
));
195+
), null, $e);
196196
}
197197

198198
if (!$extractionSucceeded) {

0 commit comments

Comments
 (0)