refactor: don't catch top-level promises

the ts compiler will handle it for us
This commit is contained in:
Waldemar Reusch 2023-04-03 20:59:34 +02:00
parent af2dbb0389
commit e00692956c

View File

@ -118,5 +118,5 @@ async function main() {
}
if (require.main === module) {
main().catch(e => console.error(e));
main();
}