Log request errors.