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

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

main();