diff options
author | Ivan Topolnak <ivantopo@gmail.com> | 2013-05-31 18:10:15 -0300 |
---|---|---|
committer | Ivan Topolnak <ivantopo@gmail.com> | 2013-05-31 18:10:15 -0300 |
commit | e88fa503bbe043c0e152290bbd4e68601ab79eb8 (patch) | |
tree | 1b28c3d68a874789fcc863e0daf1b52abe6dc0b8 /src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala | |
parent | 148827486f116c4196888022f04ad053f4fb6e99 (diff) | |
download | Kamon-e88fa503bbe043c0e152290bbd4e68601ab79eb8.tar.gz Kamon-e88fa503bbe043c0e152290bbd4e68601ab79eb8.tar.bz2 Kamon-e88fa503bbe043c0e152290bbd4e68601ab79eb8.zip |
wip
Diffstat (limited to 'src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala')
-rw-r--r-- | src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala b/src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala index 00e4e066..f631b79a 100644 --- a/src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala +++ b/src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala @@ -20,7 +20,7 @@ class ActorRefTellInstrumentation { def around(pjp: ProceedingJoinPoint, message: Any, sender: ActorRef): Unit = { import pjp._ - Kamon.context match { + Kamon.context() match { case Some(ctx) => { val traceableMessage = TraceableMessage(ctx, message) proceed(getArgs.updated(0, traceableMessage)) |