1
0
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:
orklah 2023-01-18 20:40:59 +01:00 committed by GitHub
commit 396e7fcc82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");
}
}