Skip to content

Commit

Permalink
GH-1187 Add log for AWS Context
Browse files Browse the repository at this point in the history
  • Loading branch information
olegz committed Oct 24, 2024
1 parent 5f767f6 commit ee8c617
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ public void handleRequest(InputStream input, OutputStream output, Context contex
if (!this.started) {
this.start();
}
if (context == null) {
logger.warn("Lambda is invoked with null Context");
}
Message requestMessage = AWSLambdaUtils
.generateMessage(input, this.function.getInputType(), this.function.isSupplier(), jsonMapper, context);

Expand Down

0 comments on commit ee8c617

Please sign in to comment.