improved requests error reporting