FINERACT-1971: Marking the fallback method as public so it works properly with Resilience4J
This commit is contained in:
committed by
Arnold Gálovics
parent
3b46332443
commit
35171c0823
+1
-1
@@ -215,7 +215,7 @@ public class SynchronousCommandProcessingService implements CommandProcessingSer
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private CommandProcessingResult fallbackExecuteCommand(Exception e) {
|
||||
public CommandProcessingResult fallbackExecuteCommand(Exception e) {
|
||||
if (e instanceof RollbackTransactionAsCommandIsNotApprovedByCheckerException ex) {
|
||||
return logCommand(ex.getCommandSourceResult());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user