mirror of
https://github.com/valitydev/adapter-bank-payout-spring-boot-starter.git
synced 2024-11-06 00:45:21 +00:00
Fix sleep intent error message (#12)
This commit is contained in:
parent
2d0b590a74
commit
87eb20fe87
@ -44,7 +44,7 @@ public class IntentServiceImpl implements IntentService {
|
||||
if (exitStateModel.getNextState().getMaxTimePoolingMillis() < Instant.now().toEpochMilli()) {
|
||||
final Failure failure = new Failure("Sleep timeout");
|
||||
failure.setReason("Max time pool limit reached");
|
||||
return Intent.finish(new FinishIntent(FinishStatus.failure(new Failure())));
|
||||
return Intent.finish(new FinishIntent(FinishStatus.failure(failure)));
|
||||
}
|
||||
|
||||
int timerPollingDelay = OptionsExtractors.extractPollingDelay(exitStateModel.getEntryStateModel().getOptions(), timerProperties.getPollingDelay());
|
||||
|
Loading…
Reference in New Issue
Block a user