Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How is this not a bug in your code? It sounds like you are not handling all your thrown exceptions? Just the "expected" ones?

Why would you do that?



Yes, it was a bug. We did have code in place at the top level to catch unforeseen exceptions, but it didn't occur to us that we needed to do so inside the promise as well. We fixed the issue, but finding it was a lot harder than it needed to be because there was no indication of why something didn't work, only that it didn't.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: