profile
viewpoint

Ask questionsconsole.error handling is eating errors

I have code like this

console.error('I need to see this error in the JavaScript console');

const obj = {};
const a = obj.a.b;

https://jsfiddle.net/greggman/1br5okt9/

The error never appears in the JavaScript console. In my actual code that error would have told me why the property is missing.

jsfiddle/jsfiddle-issues

Answer questions oskarkrawczyk

Custom console is in beta, please turn it off if it misbehaves.

useful!

Related questions

No questions were found.
Github User Rank List