From ad0c35bb4613c18df75953a989f98ea71af7feec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Skarp=C3=A5s?= Date: Thu, 31 Oct 2024 12:45:11 +0100 Subject: [PATCH] F - Legger Metric til listen over ignore-classes --- .../kotlin/no/nav/eessi/pensjon/fagmodul/eux/EuxErrorHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/nav/eessi/pensjon/fagmodul/eux/EuxErrorHandler.kt b/src/main/kotlin/no/nav/eessi/pensjon/fagmodul/eux/EuxErrorHandler.kt index c794e07e2..c8aeb2024 100644 --- a/src/main/kotlin/no/nav/eessi/pensjon/fagmodul/eux/EuxErrorHandler.kt +++ b/src/main/kotlin/no/nav/eessi/pensjon/fagmodul/eux/EuxErrorHandler.kt @@ -75,7 +75,7 @@ open class EuxErrorHandler : DefaultResponseErrorHandler() { private fun getCallingClasses(): List { val stackTrace = Thread.currentThread().stackTrace - val excludedClasses = setOf(this::class.java.name, "ResponseErrorHandler", "RestTemplate", "MetricsHelper") + val excludedClasses = setOf(this::class.java.name, "ResponseErrorHandler", "RestTemplate", "MetricsHelper", "Metric") return stackTrace.drop(2) .take(15)