mirror of
https://github.com/corda/corda.git
synced 2025-04-07 19:34:41 +00:00
Minor: downgrade another spammy error to warning.
This commit is contained in:
parent
b461a89ac1
commit
8dde7757f1
@ -113,7 +113,7 @@ class FlowStateMachineImpl<R>(override val id: StateMachineRunId,
|
||||
// Check if the FlowException was propagated by looking at where the stack trace originates (see suspendAndExpectReceive).
|
||||
val propagated = e.stackTrace[0].className == javaClass.name
|
||||
processException(e, propagated)
|
||||
logger.error(if (propagated) "Flow ended due to receiving exception" else "Flow finished with exception", e)
|
||||
logger.warn(if (propagated) "Flow ended due to receiving exception" else "Flow finished with exception", e)
|
||||
return
|
||||
} catch (t: Throwable) {
|
||||
recordDuration(startTime, success = false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user