debug logging for non-OK responses.