Fix "console.log(new Error())" in Web Workers