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

pull/96/head
Tom Hacohen 5 years ago
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…
Cancel
Save