mirror of
https://github.com/corda/corda.git
synced 2025-02-20 17:33:15 +00:00
add else branch to avoid warning that fails the warning check
This commit is contained in:
parent
1f82213827
commit
9f15457045
@ -80,6 +80,9 @@ class DbListenerService(services: AppServiceHub) : SingletonSerializeAsToken() {
|
||||
log.info("Throw InvalidParameterException")
|
||||
throw InvalidParameterException("Toys out of pram")
|
||||
}
|
||||
else -> {
|
||||
// do nothing, everything else must be handled elsewhere
|
||||
}
|
||||
}
|
||||
} catch (t: Throwable) {
|
||||
if (CreateStateFlow.getServiceExceptionHandlingTarget(contractState?.errorTarget)
|
||||
|
Loading…
x
Reference in New Issue
Block a user