summaryrefslogtreecommitdiff
path: root/test/fixtures/errors/async_error_sync_main.js
blob: 4a7b402e2a815f795516ed12f70918d308c4c5ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';
require('../../common');
const four = require('../async-error');

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

main();