add an catch block to prevent that the complete documentation is not generated