mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Merge pull request #9134 from lptn/better-shepherd-error-output
Enhance error output for shepherd
This commit is contained in:
commit
396e7fcc82
@ -132,7 +132,7 @@ final class Shepherd implements AfterAnalysisInterface
|
||||
|
||||
fwrite(STDERR, "Shepherd error: server responded with $response_status_code HTTP status code.\n");
|
||||
$response_content = is_string($curl_result) ? strip_tags($curl_result) : 'n/a';
|
||||
fwrite(STDERR, 'Shepherd response:' . PHP_EOL . $response_content);
|
||||
fwrite(STDERR, "Shepherd response: $response_content\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user