only log error responses as errors