awslabs / awslabs/llrt

windows: Exceptions from asynchronous functions are not thrown correctly

Open
#566 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
8.8k
Forks
393
Avg merge
1d 11h
Merged PRs (30d)
45

Description

Only synchronous exceptions are caught and displayed.
The following code fails to execute without any error message
```js
async function main() {
throw new Error()
}

main()
```

Contributor guide

Open the contributing guide

Research direction

Run the supplied asynchronous JavaScript snippet on Windows with LLRT and inspect the runtime's asynchronous exception handling path. Done means the rejected async function produces an error message instead of failing silently, with behavior verified using the provided example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, rust
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.