Fix calls to EventHandler

This commit is contained in:
Derek Williams 2011-03-07 19:17:45 -07:00
parent eee9445be8
commit cda0c1bbb4
2 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,7 @@ class ExecutorBasedEventDrivenDispatcher(
try executorService.get() execute invocation try executorService.get() execute invocation
catch { catch {
case e: RejectedExecutionException => case e: RejectedExecutionException =>
EventHandler notifyListeners EventHandler.Warning(e, this, _name) EventHandler notifyListeners EventHandler.Warning(this, e.toString)
throw e throw e
} }
} }

View file

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