From 1a663b1e47f65f6aa4ca1f514b94680780f52258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Bon=C3=A9r?= Date: Thu, 1 Jul 2010 15:27:31 +0200 Subject: [PATCH] Removed unused catch for IllegalStateException --- akka-core/src/main/scala/actor/ActorRef.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-core/src/main/scala/actor/ActorRef.scala b/akka-core/src/main/scala/actor/ActorRef.scala index d07e18a314..6a7efe80f1 100644 --- a/akka-core/src/main/scala/actor/ActorRef.scala +++ b/akka-core/src/main/scala/actor/ActorRef.scala @@ -1271,11 +1271,11 @@ sealed class LocalActorRef private[akka]( case e => _isBeingRestarted = true // abort transaction set - if (isTransactionSetInScope) try { + if (isTransactionSetInScope) { val txSet = getTransactionSetInScope Actor.log.debug("Aborting transaction set [%s]", txSet) txSet.abort - } catch { case e: IllegalStateException => {} } + } Actor.log.error(e, "Exception when invoking \n\tactor [%s] \n\twith message [%s]", this, message) senderFuture.foreach(_.completeWithException(this, e))