summaryrefslogtreecommitdiff
path: root/test/message/async_error_sync_esm.mjs
blob: fdb6a260d1284b241814466ae7cae96e0ba90ada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import '../common/index.mjs';
import four from '../fixtures/async-error.js';

async function main() {
  try {
    await four();
  } catch (e) {
    console.error(e);
  }
}

main();