mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00

PR-URL: https://github.com/nodejs/node/pull/47498 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
13 lines
199 B
JavaScript
13 lines
199 B
JavaScript
'use strict';
|
|
require('../../common');
|
|
const four = require('../async-error');
|
|
|
|
async function main() {
|
|
try {
|
|
await four();
|
|
} catch (e) {
|
|
console.error(e);
|
|
}
|
|
}
|
|
|
|
process.nextTick(main);
|