mirror of
https://github.com/etesync/android
synced 2024-12-23 07:08:16 +00:00
BaseManager: add a debug log for the beginning of a network call.
This commit is contained in:
parent
f52a72fbb9
commit
9560d4a65b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user