Log API Request errors as well. #857