Track request errors in request object