diff --git a/actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/internal/TestAppender.scala b/actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/internal/TestAppender.scala index 2a19f8b43b..b4f3fa807f 100644 --- a/actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/internal/TestAppender.scala +++ b/actor-testkit-typed/src/main/scala/org/apache/pekko/actor/testkit/typed/internal/TestAppender.scala @@ -113,8 +113,8 @@ import pekko.annotation.InternalApi try { f.apply(event) } catch { - case _: Exception => { - println("roiocam: got exception on apply filters") + case e: Exception => { + println(s"roiocam: got exception on apply filters: ${e.getMessage}, ${e.getCause}") false } })