output errors in console as errors