提交 87fda275 编写于 作者: P Patrick Forhan

Merge pull request #6 from square/rest-adapter-logging

Logging unexpected errors in RestAdapter.
......@@ -129,6 +129,7 @@ import retrofit.core.MainThread;
logger.log(Level.WARNING, e.getMessage(), e);
callback.networkError();
} catch (Throwable t) {
logger.log(Level.WARNING, t.getMessage(), t);
callback.unexpectedError(t);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册