diff --git a/src/js/util.js b/src/js/util.js index c0e22cd..6d67875 100644 --- a/src/js/util.js +++ b/src/js/util.js @@ -119,9 +119,9 @@ function tick() { // // - __error__ - Error/exception object to be re-thrown to the browser. function exposeError(error) { - tick().then(() => { + setTimeout(() => { throw error; - }); + }, 0); } export default {