News for hackers. Stuff that matters.
Re:We have a problem with promises by ben336 on Monday May 18, 2015 @12:54PM (#9565477)
Logging errors to the console can be helpful to find them during debugging/development (as opposed to having them fail silently).

The goal isn't to leave errors in, its to expose them when something changes to make them happen so that you can do the 2 things above.

Re:We have a problem with promises by esailija on Monday May 18, 2015 @12:59PM (#9565530)
You need to configure or change your promise implementation if uncaught errors fail silently.

In any case, logging error gives you no information anyway. Just try running: `console.log(new Error("..."))`. So at the very least you should do `catch(function(e){console.log(e.stack);})`

Re:We have a problem with promises by neumino on Monday May 18, 2015 @01:35PM (#9565733)
You can just crash (and still see the stacktrace) and automatically restart. You shouldn't leave these `catch/ignore` in your code in prod, this is a pretty good way to get undefined behaviors and maybe corrupted data.