FWICT, I fully understand the example and addressed your points directly. You can wrap callbacks to catch everything or always crash, aka
while allowing non-caught async errors to be handled in a custom manner as you point out.
And the referenced github issue furthers my point, Promises coerce caught exceptions occurring on the origin tick to errors (bad)
first via the OP[1] Is it possible to turn try { ... } catch off in the bluebird promise implementation?
and then via Dominic Denicola's characteristic snark[2] class PromiseThatMissesThePointOfPromises {
...
Please point out anything I am misunderstanding.[1] https://github.com/petkaantonov/bluebird/issues/51
[2] https://github.com/petkaantonov/bluebird/issues/51#issuecomm...