node: Remove warnings

This commit is contained in:
Andras Slemmer 2016-06-20 12:02:07 +01:00
parent 878a683823
commit 5de6e3f965

View File

@ -103,7 +103,7 @@ class ProtocolStateMachineImpl<R>(val logic: ProtocolLogic<R>,
private fun suspend(with: StateMachineManager.FiberRequest) { private fun suspend(with: StateMachineManager.FiberRequest) {
parkAndSerialize { fiber, serializer -> parkAndSerialize { fiber, serializer ->
try { try {
suspendAction!!(with) suspendAction(with)
} catch (t: Throwable) { } catch (t: Throwable) {
logger.warn("Captured exception which was swallowed by Quasar", t) logger.warn("Captured exception which was swallowed by Quasar", t)
// TODO to throw or not to throw, that is the question // TODO to throw or not to throw, that is the question