loading...

re: Simplify JavaScript Promises VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Are you sure that you always need to add a .catch()? As long as an error is thrown, and you don't swallow the error yourself inside of your own .ca...
 

I think you're right.

But if you deep down it can always be the case that there is a catch somewhere above that eats errors.

Agree, it's generally a good idea to be explicit and prevent any edge cases.

code of conduct - report abuse