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:
parent
18b4c55a06
commit
e7a410dc0c
16 changed files with 134 additions and 84 deletions
|
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue