Use reject instead of throw
This ensures that the containing promise is rejected without triggering the side effects of an uncaught exception, such as causing the debugger to pause. // FREEBIEpull/749/head
parent
a32f3ff1f6
commit
1345899253
Loading…
Reference in New Issue