Improve request error reporting