Skip to content

Commit

Permalink
Fix: Always pass cloudevent (can be null) to ingresshandler
Browse files Browse the repository at this point in the history
  • Loading branch information
creydr committed Aug 27, 2024
1 parent e264796 commit 39fb741
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public void handle(
// get CloudEvent from request and pass to ingress handler
VertxMessageFactory.createReader(requestContext.getRequest())
.map(MessageReader::toEvent)
.onSuccess(event -> {
next.handle(requestContext, event, ingressInfo);
.onComplete(event -> {
next.handle(requestContext, event.result(), ingressInfo);
});
return;
}
Expand Down

0 comments on commit 39fb741

Please sign in to comment.