Closed JBetz closed 4 months ago
Sure, that makes sense, Care for a pr?
(ignore-errors (request-text req))
to the error irritants.req
in it, and let the user retrieve the information they want.I've implemented the first for now, but we should think hard and implement "Pitman errors" someday.
Is there a pr?
https://github.com/mighty-gerbils/gerbil/blob/137ae6b58206a4b0f4bfe3083f081853beb09e84/src/std/net/request.ss#L526-L533
The error reports the status code and status text but throws away the response body, which can often contain useful debugging information.