Add newline characters to error messages