Output error if it exists.