Write log when taobao api error happens.