Fail status more softly unless -vvv is used, refs #11889
parent
bc157ebea9
commit
2027d4975a
|
@ -524,7 +524,11 @@ class FileDownloader implements DownloaderInterface, ChangeReportInterface
|
||||||
$this->io = $prevIO;
|
$this->io = $prevIO;
|
||||||
|
|
||||||
if ($e !== null) {
|
if ($e !== null) {
|
||||||
throw $e;
|
if ($this->io->isDebug()) {
|
||||||
|
throw $e;
|
||||||
|
}
|
||||||
|
|
||||||
|
return 'Failed to detect changes: ['.get_class($e).'] '.$e->getMessage();
|
||||||
}
|
}
|
||||||
|
|
||||||
$output = trim($output);
|
$output = trim($output);
|
||||||
|
|
Loading…
Reference in New Issue