safe console log errors