I open the chrome console and add function to catch all error in application:
window.onerror = function (a,b,c,d,e) {
console.log('my handler: ', a,b,c,d,e);
}
I throw an exception in the same window but I got unreadable error data
setTimeout(() => { throw 'bla bla'; })
my handler: Script error. 0 0 null
Why I cannot read error message?