Remove new lines from ERR messages