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)