Output error messages if there is.