add a crude non-zero exit code when a document fails to validate