Catch the exception when generating the doc