2 ms·so console.log(ex) is never executed?by WolfOliver 5y agoso console.log(ex) is never executed?WolfOliver 5y agoyou have to execute it like this: await foo(); Then you will see the error