3 ms·
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?
by gradstudent 12y ago
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?
- kylec 12y agoYes, 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.