Skip to content

Commit

Permalink
syncPageEntry can be null if operationType is VALIDATE
Browse files Browse the repository at this point in the history
  • Loading branch information
hknots committed Dec 3, 2024
1 parent 2b71afe commit 26b442f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void handleEvent(ResponseFintEvent responseFintEvent) throws NoRequestFou
throw new InvalidOrgIdException(responseFintEvent.getOrgId());
}

if (responseFintEvent.getValue() == null) {
if (!responseFintEvent.getOperationType().equals(OperationType.VALIDATE) && responseFintEvent.getValue() == null) {
log.error("Recieved a SyncPageEntry that is null");
throw new InvalidSyncPageEntryException("SyncPageEntry is null");
}
Expand Down

0 comments on commit 26b442f

Please sign in to comment.