CORDA-1850: Minor: improve flow timeout error message (#3764)

This commit is contained in:
Andrius Dagys 2018-08-13 10:05:55 +01:00 committed by GitHub
parent dfea9b6940
commit 0746b1f927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,8 +202,8 @@ class StaffedFlowHospital {
return Diagnosis.DISCHARGE return Diagnosis.DISCHARGE
} else { } else {
val errorMsg = "Maximum number of retries reached for flow ${flowFiber.snapshot().flowLogic.javaClass}. " + val errorMsg = "Maximum number of retries reached for flow ${flowFiber.snapshot().flowLogic.javaClass}. " +
"If the flow involves notarising a transaction, this usually means that the notary is being overloaded and " + "If the flow involves notarising a transaction, it means that no response was received from the notary." +
"unable to service requests fast enough. Please try again later." "This could be either due to the the notary being overloaded or unable to reach this node."
newError.setMessage(errorMsg) newError.setMessage(errorMsg)
log.warn(errorMsg) log.warn(errorMsg)
} }