You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: