aliyun / aliyun-log-android-sdk

MIT License
180 stars 40 forks source link

错误回调 onFailure 不执行 #6

Closed LangQiang closed 6 years ago

LangQiang commented 6 years ago

RequestTask call()
// 输出响应信息日志 Map<String, List> headerMap = response.headers().toMultimap(); StringBuilder printRsp = new StringBuilder(); printRsp.append("response:---------------------\n"); printRsp.append("response code : " + response.code() + " for url : " + request.url() + "\n");

        # byte[] body = response.body().bytes();

..... } else { exception = new LogException("LogServerError", "Response code:"

response.body() 确定能调用两次? 不想改module 修复一下?