I changed this to never call `toString()` on the error object. At most we now just log it's runtime type. I removed the TODO since a test would essentially just be testing the compiler.