diff --git a/node/src/main/kotlin/com/r3corda/node/utilities/ClockUtils.kt b/node/src/main/kotlin/com/r3corda/node/utilities/ClockUtils.kt index 181de735ab..99698089a0 100644 --- a/node/src/main/kotlin/com/r3corda/node/utilities/ClockUtils.kt +++ b/node/src/main/kotlin/com/r3corda/node/utilities/ClockUtils.kt @@ -96,6 +96,8 @@ fun Clock.awaitWithDeadline(deadline: Instant, future: Future<*> = GuavaSettable // No need to take action as will fall out of the loop due to future.isDone } catch(e: CancellationException) { // No need to take action as will fall out of the loop due to future.isDone + } catch(e: TimeoutException) { + // No need to take action as will fall out of the loop due to future.isDone } } subscription?.unsubscribe()