We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The relevant part of locallib.php which sets the string to be logged in the response_answer event is:
$status = 'Error sending request'; if (!empty($response['HTTP/1.1'])) { $status = $response['HTTP/1.1']; }
$status = 'Error sending request';
if (!empty($response['HTTP/1.1'])) {
$status = $response['HTTP/1.1'];
}
This leads, for instance, when response is 'HTTP/2' that the log gets written "Error sending request" and nothing else.
I'd suggest something like:
$status = json_encode($response);
to get more information logged, or at least also check for the HTTP/2 field of the response.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The relevant part of locallib.php which sets the string to be logged in the response_answer event is:
$status = 'Error sending request';
if (!empty($response['HTTP/1.1'])) {
$status = $response['HTTP/1.1'];
}
This leads, for instance, when response is 'HTTP/2' that the log gets written "Error sending request" and nothing else.
I'd suggest something like:
$status = json_encode($response);
to get more information logged, or at least also check for the HTTP/2 field of the response.
The text was updated successfully, but these errors were encountered: