print the errors