only log errors to console