Set console text to red if there is an error