mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Display $endpoint on error message (simplify debugging)
This commit is contained in:
parent
6ba9b1bb17
commit
b78472c752
@ -164,7 +164,7 @@ final class Shepherd implements AfterAnalysisInterface
|
||||
return;
|
||||
}
|
||||
|
||||
fwrite(STDERR, "Shepherd error: server responded with $response_status_code HTTP status code.\n");
|
||||
fwrite(STDERR, "Shepherd error: $endpoint endpoint 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: $response_content\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user