Merged in remove-warnings (pull request #169)

Remove warnings
This commit is contained in:
Andras Slemmer
2016-06-20 14:45:04 +01:00
8 changed files with 14 additions and 11 deletions

View File

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