diff --git a/rmgpy/rmg/model.py b/rmgpy/rmg/model.py index ff0c3de926..c347c031b1 100644 --- a/rmgpy/rmg/model.py +++ b/rmgpy/rmg/model.py @@ -418,8 +418,12 @@ def make_new_reaction(self, forward, check_existing=True, generate_thermo=True): """ # Determine the proper species objects for all reactants and products - reactants = [self.make_new_species(reactant, generate_thermo=generate_thermo)[0] for reactant in forward.reactants] - products = [self.make_new_species(product, generate_thermo=generate_thermo)[0] for product in forward.products] + try: + reactants = [self.make_new_species(reactant, generate_thermo=generate_thermo)[0] for reactant in forward.reactants] + products = [self.make_new_species(product, generate_thermo=generate_thermo)[0] for product in forward.products] + except: + logging.error(f"Error when making species in reaction {forward:s} from {forward.family:s}") + raise if forward.specific_collider is not None: forward.specific_collider = self.make_new_species(forward.specific_collider)[0]