Changed event handler config to a list of the FQN of listeners
This commit is contained in:
parent
53c824d1e8
commit
2168e861bf
4 changed files with 26 additions and 16 deletions
|
|
@ -208,7 +208,7 @@ class BoundedExecutorDecorator(val executor: ExecutorService, bound: Int) extend
|
|||
})
|
||||
} catch {
|
||||
case e: RejectedExecutionException =>
|
||||
EventHandler notifyListeners EventHandler.Warning(e, this)
|
||||
EventHandler notifyListeners EventHandler.Warning(this, e.toString)
|
||||
semaphore.release
|
||||
case e: Throwable =>
|
||||
EventHandler notifyListeners EventHandler.Error(e, this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue