diff options
Diffstat (limited to 'kamon-play/src/main/scala/kamon/play/action/KamonTraceActions.scala')
-rw-r--r-- | kamon-play/src/main/scala/kamon/play/action/KamonTraceActions.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-play/src/main/scala/kamon/play/action/KamonTraceActions.scala b/kamon-play/src/main/scala/kamon/play/action/KamonTraceActions.scala index 0e777fd5..36eabf8e 100644 --- a/kamon-play/src/main/scala/kamon/play/action/KamonTraceActions.scala +++ b/kamon-play/src/main/scala/kamon/play/action/KamonTraceActions.scala @@ -21,7 +21,7 @@ import play.api.mvc._ import scala.concurrent.Future case class TraceName[A](name: String)(action: Action[A]) extends Action[A] { - def apply(request: Request[A]): Future[SimpleResult] = { + def apply(request: Request[A]): Future[Result] = { TraceRecorder.rename(name) action(request) } |