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
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