redirected error reporting to console