From 01172b06649536f51b03907e3499e3f769bcfa19 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Sat, 18 Sep 2021 01:00:42 +0430 Subject: [PATCH] better exception messages --- .../src/main/kotlin/suwayomi/tachidesk/server/ServerSetup.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/kotlin/suwayomi/tachidesk/server/ServerSetup.kt b/server/src/main/kotlin/suwayomi/tachidesk/server/ServerSetup.kt index 2837ea17..0dd49289 100644 --- a/server/src/main/kotlin/suwayomi/tachidesk/server/ServerSetup.kt +++ b/server/src/main/kotlin/suwayomi/tachidesk/server/ServerSetup.kt @@ -97,7 +97,7 @@ fun applicationSetup() { } } } catch (e: Exception) { - logger.error("Exception while creating initial server.conf:\n", e) + logger.error("Exception while creating initial server.conf", e) } // copy local source icon @@ -111,7 +111,7 @@ fun applicationSetup() { } } } catch (e: Exception) { - logger.error("Exception while creating initial server.conf:\n", e) + logger.error("Exception while copying Local source's icon", e) } // fixes #119 , ref: https://github.com/Suwayomi/Tachidesk-Server/issues/119#issuecomment-894681292 , source Id calculation depends on String.lowercase()