Skip to content

Commit

Permalink
remove runWithContext call
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasamoroso committed Sep 29, 2021
1 parent ff150c9 commit 4fc74d9
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ object HandleNotFoundMethodAdvisor {
@Advice.Thrown throwable: Throwable): Unit = {
if (throwable != null && statusException.httpStatus.code() == HttpStatus.NOT_FOUND.code()) {
val requestHandler = ctx.attr(REQUEST_HANDLER_TRACE_KEY)
Kamon.runWithContext(requestHandler.context) {
requestHandler.span.name(unhandledOperationName)
}
}
}
}
Expand Down

0 comments on commit 4fc74d9

Please sign in to comment.