From e65abe1afa0fc9196c281c599dd2bb9509bf1ed5 Mon Sep 17 00:00:00 2001 From: rannveigskjerve Date: Tue, 18 Jun 2024 11:23:56 +0200 Subject: [PATCH] fiks kompileringsfeil for named argumnet --- .../tokendings/exchange/service/tokendingsServiceImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokendings-exchange/src/main/kotlin/no/nav/tms/token/support/tokendings/exchange/service/tokendingsServiceImpl.kt b/tokendings-exchange/src/main/kotlin/no/nav/tms/token/support/tokendings/exchange/service/tokendingsServiceImpl.kt index 8f7fb16..35e5e04 100644 --- a/tokendings-exchange/src/main/kotlin/no/nav/tms/token/support/tokendings/exchange/service/tokendingsServiceImpl.kt +++ b/tokendings-exchange/src/main/kotlin/no/nav/tms/token/support/tokendings/exchange/service/tokendingsServiceImpl.kt @@ -79,7 +79,7 @@ internal object TokenStringUtil { } class TokendingsExchangeException(val originalThrowable: Throwable, clientId: String) : - Exception(message = originalThrowable.stackTrace.firstOrNull()?.let { stacktraceElement -> + Exception(originalThrowable.stackTrace.firstOrNull()?.let { stacktraceElement -> """ Tokendingsexchange feiler for $clientId Origin: ${stacktraceElement.fileName ?: "---"} ${stacktraceElement.methodName ?: "----"} linenumber:${stacktraceElement.lineNumber} Message: "${originalThrowable::class.simpleName} ${originalThrowable.message?.let { ":$it" }}"