fix error log message being colored green instead of red