Log errors
Display message in console for failure