Log the offending line of code

Tested in IE8