Merge branch 'master' into mainnet-beta
remove process unhandled rejection block
This commit is contained in:
@@ -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) {
|
||||
try {
|
||||
await f();
|
||||
|
||||
Reference in New Issue
Block a user