DOC/BLD: Log code exceptions from nbgenerate