Log the error message, not the error class

This actually provides useful error messages. Previously you'd see
"TypeError" on the console. This is not useful. Now you'll see "fooBar()
is not a method". This lets you track down exceptions