Minor: degrade a log.error to a log.warn as errors get written to the console.

This commit is contained in:
Mike Hearn 2017-05-18 12:13:42 +02:00
parent 3f7acd3c68
commit c79f369c83

View File

@ -97,7 +97,7 @@ class StateMachineManager(val serviceHub: ServiceHubInternal,
init {
Fiber.setDefaultUncaughtExceptionHandler { fiber, throwable ->
(fiber as FlowStateMachineImpl<*>).logger.error("Caught exception from flow", throwable)
(fiber as FlowStateMachineImpl<*>).logger.warn("Caught exception from flow", throwable)
}
}
}