Print rejections that reach the root handler

This commit is contained in:
J. Ryan Stinnett
2021-06-23 16:18:09 +01:00
parent 997f2c21bf
commit 48dc1ab396
+4 -1
View File
@@ -145,4 +145,7 @@ async function main() {
}
}
main().catch(() => process.exit(1));
main().catch(err => {
console.error(err);
process.exit(1);
});