Closed sholladay closed 1 week ago
I guess, too long URLs are not a real concern here
The maximum length of a valid URL is around 2000 characters. Which is indeed long, but still short enough that I would expect most logging systems to handle it.
https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers
We could truncate the URL to protect against invalid URLs or in the interest of readability, but that definitely makes the log entry less useful. I’m inclined to report the URL as-is.
Closes #592
This PR aims to make the error messages from Ky's
TimeoutError
andHTTPError
more helpful by including the request method and URL.Before:
After: