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
This is currently a limitation in the QuickJS engine. We are able to capture unhandled promise rejections but that doesn't align with how it's handled in Node.js. We'll be working on a patch for this.
This also seems to be affecting how API Gateway authorizer lambdas return 401s. For example, in a Node.js lambda if you use throw new Error('Unauthorized'), this will return a 401 to the client, but doing the same in an LLRT lambda returns a 500.
Only synchronous exceptions are caught and displayed.
The following code fails to execute without any error message
The text was updated successfully, but these errors were encountered: