Track error when generating documentation