Skip to content

Commit 4fc74d9

Browse files
committed
remove runWithContext call
1 parent ff150c9 commit 4fc74d9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

instrumentation/kamon-armeria/src/main/scala/kamon/instrumentation/armeria/server/ArmeriaHttpServerInstrumentation.scala

-2
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ object HandleNotFoundMethodAdvisor {
7878
@Advice.Thrown throwable: Throwable): Unit = {
7979
if (throwable != null && statusException.httpStatus.code() == HttpStatus.NOT_FOUND.code()) {
8080
val requestHandler = ctx.attr(REQUEST_HANDLER_TRACE_KEY)
81-
Kamon.runWithContext(requestHandler.context) {
8281
requestHandler.span.name(unhandledOperationName)
83-
}
8482
}
8583
}
8684
}

0 commit comments

Comments
 (0)