1
0
Fork 0

Fail status more softly unless -vvv is used, refs #11889

pull/11902/head
Jordi Boggiano 2024-03-21 11:16:56 +01:00
parent bc157ebea9
commit 2027d4975a
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 5 additions and 1 deletions

View File

@ -524,7 +524,11 @@ class FileDownloader implements DownloaderInterface, ChangeReportInterface
$this->io = $prevIO;
if ($e !== null) {
throw $e;
if ($this->io->isDebug()) {
throw $e;
}
return 'Failed to detect changes: ['.get_class($e).'] '.$e->getMessage();
}
$output = trim($output);