adding current line with the color of the error