- Issue created by @codebymikey
- Merge request !3Issue #3512992: Add support for logging requests a bit better → (Open) created by codebymikey
When certain exceptions are thrown, the error logs are typically truncated by Guzzle by default.
We should have special handling to ensure that that the full response may be viewed as desired, or at the very least be able to configure how much of the body to render.
Make a request to an API with a fairly large error message. It ends up getting truncated, leaving users unable to read exactly why the response was blocked.
We should provide a more verbose error message in the logs.
See https://www.morpht.com/blog/debugging-guzzle-http-request-errors-drupal
Provide issue fork.
New "debug" option in the action, as well as a dedicated settings page to specify if the end user should be shown the request and response for debugging purposes.
N/A
N/A
Active
3.0
Code