add else branch to avoid warning that fails the warning check

This commit is contained in:
Christian Sailer 2019-10-29 16:09:18 +00:00 committed by LankyDan
parent 1f82213827
commit 9f15457045

View File

@ -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)