Skip to content

Commit 81b3576

Browse files
rwestJacksonBurns
andcommitted
Add more detail to an error warning
Co-Authored-By: Jackson Burns <jwburns@mit.edu> Co-authored-by: Jackson Burns <33505528+JacksonBurns@users.noreply.github.com>
1 parent 9dde345 commit 81b3576

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rmgpy/chemkin.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,7 @@ def read_reactions_block(f, species_dict, read_comments=True):
14831483
reaction = read_reaction_comments(reaction, comments, read=read_comments)
14841484
except ChemkinError as e:
14851485
if "Skip reaction!" in str(e):
1486-
logging.warning("Skipping the reaction {0!r}".format(kinetics))
1486+
logging.warning("Skipping the reaction {0!r} because of {e!s}".format(kinetics))
14871487
continue
14881488
else:
14891489
raise

0 commit comments

Comments
 (0)