Fixed issue with last commit.
This commit is contained in:
parent
4b8396959d
commit
c28fbd37cc
@ -129,9 +129,12 @@ class ItemCardAdapter(private val app: Activity,
|
|||||||
if (debugReadingItems) {
|
if (debugReadingItems) {
|
||||||
val message =
|
val message =
|
||||||
"message: ${response.message()} " +
|
"message: ${response.message()} " +
|
||||||
|
"response isSuccess: ${response.isSuccessful} " +
|
||||||
|
"response code: ${response.code()} " +
|
||||||
|
"response message: ${response.message()} " +
|
||||||
|
"response errorBody: ${response.errorBody()?.string()} " +
|
||||||
"body success: ${response.body()?.success} " +
|
"body success: ${response.body()?.success} " +
|
||||||
"body isSuccess: ${response.body()?.isSuccess} " +
|
"body isSuccess: ${response.body()?.isSuccess}"
|
||||||
"raw body string: ${response.raw()?.body()?.string()}"
|
|
||||||
Crashlytics.log(100, "READ_DEBUG_SUCCESS", message)
|
Crashlytics.log(100, "READ_DEBUG_SUCCESS", message)
|
||||||
Crashlytics.logException(Exception("Was success, but did it work ?"))
|
Crashlytics.logException(Exception("Was success, but did it work ?"))
|
||||||
Toast.makeText(c, message, Toast.LENGTH_LONG).show()
|
Toast.makeText(c, message, Toast.LENGTH_LONG).show()
|
||||||
|
@ -138,9 +138,12 @@ class ItemListAdapter(private val app: Activity,
|
|||||||
if (debugReadingItems) {
|
if (debugReadingItems) {
|
||||||
val message =
|
val message =
|
||||||
"message: ${response.message()} " +
|
"message: ${response.message()} " +
|
||||||
|
"response isSuccess: ${response.isSuccessful} " +
|
||||||
|
"response code: ${response.code()} " +
|
||||||
|
"response message: ${response.message()} " +
|
||||||
|
"response errorBody: ${response.errorBody()?.string()} " +
|
||||||
"body success: ${response.body()?.success} " +
|
"body success: ${response.body()?.success} " +
|
||||||
"body isSuccess: ${response.body()?.isSuccess} " +
|
"body isSuccess: ${response.body()?.isSuccess}"
|
||||||
"raw body string: ${response.raw()?.body()?.string()}"
|
|
||||||
Crashlytics.log(100, "READ_DEBUG_SUCCESS", message)
|
Crashlytics.log(100, "READ_DEBUG_SUCCESS", message)
|
||||||
Crashlytics.logException(Exception("Was success, but did it work ?"))
|
Crashlytics.logException(Exception("Was success, but did it work ?"))
|
||||||
Toast.makeText(c, message, Toast.LENGTH_LONG).show()
|
Toast.makeText(c, message, Toast.LENGTH_LONG).show()
|
||||||
|
Loading…
Reference in New Issue
Block a user