Append end of line character to error message