This commit is contained in:
parent
ee3d9b0cd5
commit
1c76eefb1d
@ -43,7 +43,7 @@ class DatabaseConsumer : Consumer, KoinComponent {
|
|||||||
val apiObject = gson.fromJson(rawJson, ApiObject::class.java)
|
val apiObject = gson.fromJson(rawJson, ApiObject::class.java)
|
||||||
resultObjectService.addOne(apiObject)
|
resultObjectService.addOne(apiObject)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
println(e.stackTrace.toString())
|
println(e.message)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user