Add errors and warnings to output.