Re:ESLint 7.0
by z3t4 on Monday May 11, 2020 @03:43PM
(#23146130)
If you add a catch block it will be even worse, all errors inside a promise callback will then become soft errors. Only add the catch if you actually plan to handle the error.
[ Parent
| on HN ]
Re:ESLint 7.0
by hombre_fatal on Tuesday May 12, 2020 @12:50AM
(#23150681)
promise.catch(console.error) is still handling the error.