1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Add more verbose output

This commit is contained in:
Matthew Brown 2019-03-31 19:20:05 -04:00
parent bd48ba858e
commit 517415029a

View File

@ -69,7 +69,12 @@ class Shepherd implements \Psalm\Plugin\Hook\AfterAnalysisInterface
if ($return !== '') {
echo 'Error with Psalm Shepherd:' . PHP_EOL;
echo $return . PHP_EOL;
if ($return === false) {
echo var_export(curl_getinfo($ch), true) . PHP_EOL;
} else {
echo $return . PHP_EOL;
}
}
// Close cURL session handle