libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 34283e93011ff3add8d67dea3299efa8b34794f5
parent e597978e18c0f902d1a94d3286ea5f7cfac5c225
Author: Florian Dold <florian.dold@gmail.com>
Date:   Thu,  2 Jul 2020 12:40:35 +0530

log exception

Diffstat:
Mnexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsClient.kt | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsClient.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsClient.kt @@ -39,6 +39,7 @@ private suspend inline fun HttpClient.postToBank(url: String, body: String): Str } ) } catch (e: Exception) { + logger.warn("Exception during request", e) throw NexusError(HttpStatusCode.InternalServerError, "Cannot reach the bank") } logger.debug("Receiving: $response")