Adds prints errors