-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hi, I'm just checking out this layer and it seems incredibly helpful! Thanks for providing it.
While reading the code I notice that you don't handle exceptions but rather rely on it calling the default script exception handler. Have you considered using an eval block around the function call to trap exceptions and report them to https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html#runtimes-api-invokeerror . Indeed after that you might want to do the same with the require statement to catch compile errors too.
Anyway, thanks a lot and I expect I'll be using this layer going forward! Cheers.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request