Merge branch 'master' into mainnet-beta

remove process unhandled rejection block
This commit is contained in:
Nour Alharithi
2023-12-12 07:36:29 -08:00

View File

@@ -273,10 +273,6 @@ async function main() {
}); });
} }
process.on('unhandledRejection', (reason, promise) => {
console.error('Unhandled Rejection at:', promise, 'reason:', reason);
});
async function recursiveTryCatch(f: () => void) { async function recursiveTryCatch(f: () => void) {
try { try {
await f(); await f();