aws-samples / aws-lambda-extensions

A collection of sample extensions to help you get started with AWS Lambda Extensions
MIT No Attribution
446 stars 146 forks source link

Update exitError and initError methods to have valid BodyPublishers. #48

Closed briensea closed 3 years ago

briensea commented 3 years ago

Issue #, if available: The current use of HttpRequest.newBuilder() for post requests in initError and exitError will result in a NullPointerException.

Description of changes:

This change rectifies this issue by doing the following:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.