Fixed bug with restarting supervised supervisor that had done linking in constructor + Changed all calls to EventHandler to use direct 'error' and 'warning' methods for improved performance

This commit is contained in:
Jonas Bonér 2011-03-18 23:04:48 +01:00
parent 18b4c55a06
commit e7a410dc0c
16 changed files with 134 additions and 84 deletions

View file

@ -36,7 +36,7 @@ final case class FutureInvocation(future: CompletableFuture[Any], function: () =
Right(function.apply)
} catch {
case e: Exception =>
EventHandler notify EventHandler.Error(e, this)
EventHandler.error(e, this, e.getMessage)
Left(e)
})
}