From d75b1663d1bc79d6cccc58f1e10e1595330f5e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20J=C3=A4rvinen?= Date: Mon, 4 Nov 2024 13:10:32 +0200 Subject: [PATCH] Add logging --- build.gradle | 2 +- src/main/kotlin/fi/hsl/transitlog/hfp/DWService.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 97823d2..e1c7fce 100644 --- a/build.gradle +++ b/build.gradle @@ -47,7 +47,7 @@ dependencies { implementation "io.github.microutils:kotlin-logging:1.6.22" - implementation ('fi.hsl:transitdata-common:1.4.4') { + implementation ('fi.hsl:transitdata-common:1.6.4') { exclude group: 'javax.xml.bind', module: 'activation' } //Needed for Pulsar diff --git a/src/main/kotlin/fi/hsl/transitlog/hfp/DWService.kt b/src/main/kotlin/fi/hsl/transitlog/hfp/DWService.kt index 1b543a3..3d4bc9a 100644 --- a/src/main/kotlin/fi/hsl/transitlog/hfp/DWService.kt +++ b/src/main/kotlin/fi/hsl/transitlog/hfp/DWService.kt @@ -133,6 +133,7 @@ class DWService( filesUploaded++ } catch (e: Exception) { + e.printStackTrace() log.error(e) { "Failed to upload file to Blob Storage" }