1
0
mirror of https://github.com/etesync/android synced 2024-11-15 20:38:58 +00:00

BaseManager: add a debug log for the beginning of a network call.

This commit is contained in:
Tom Hacohen 2019-08-22 11:52:01 +01:00
parent f52a72fbb9
commit 9560d4a65b

View File

@ -17,6 +17,7 @@ abstract class BaseManager {
fun newCall(request: Request): Response {
val response: Response
try {
Logger.log.fine("Making request for ${request.url()}")
response = client!!.newCall(request).execute()
} catch (e: IOException) {
Logger.log.log(Level.SEVERE, "Failed while connecting to server", e)