You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log.e(TAG, "invalid response with code [${response.code}] and payload [${response.body}]")
42
+
response.close()
35
43
returnlistOf()
36
44
}
37
45
@@ -74,6 +82,7 @@ class HttpSmsApiService {
74
82
}
75
83
76
84
val message =ResponseMessage.fromJson(response.body!!.string())
85
+
response.close()
77
86
Log.i(TAG, "received message stored successfully for message with ID [${message?.data?.id}]" )
78
87
}
79
88
@@ -102,6 +111,8 @@ class HttpSmsApiService {
102
111
Log.e(TAG, "error response [${response.body?.string()}] with code [${response.code}] while sending [${event}] event [${body}] for message with ID [${messageId}]")
103
112
return
104
113
}
114
+
115
+
response.close()
105
116
Log.i(TAG, "[$event] event sent successfully for message with ID [$messageId]" )
0 commit comments