callback-to-async-iterator icon indicating copy to clipboard operation
callback-to-async-iterator copied to clipboard

onClose doesn't handle errors from async functions

Open NickClark opened this issue 6 years ago • 0 comments

Currently, if your onClose handler is a promise and an error is thrown, the error is absorbed. It would be nice if onError was called with the error

NickClark avatar Jun 17 '19 18:06 NickClark