From 1c76eefb1d0ac09a04b6ddd8a95f844b4a4bb718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 17 Aug 2021 17:07:07 +0200 Subject: [PATCH] exception message --- src/main/kotlin/mq/DatabaseConsumer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/mq/DatabaseConsumer.kt b/src/main/kotlin/mq/DatabaseConsumer.kt index d39ed18..6dbf64a 100644 --- a/src/main/kotlin/mq/DatabaseConsumer.kt +++ b/src/main/kotlin/mq/DatabaseConsumer.kt @@ -43,7 +43,7 @@ class DatabaseConsumer : Consumer, KoinComponent { val apiObject = gson.fromJson(rawJson, ApiObject::class.java) resultObjectService.addOne(apiObject) } catch (e: Exception) { - println(e.stackTrace.toString()) + println(e.message) } } } \ No newline at end of file