Skip to content

Commit e844d15

Browse files
committed
more comprehensize debugging info for failed Julia imports
1 parent 8f713d3 commit e844d15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rmgpy/rmg/reactionmechanismsimulator_reactors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
Main.seval("using ReactionMechanismSimulator")
4747
Main.seval("using ReactionMechanismSimulator.Sundials")
4848
NO_JULIA = False
49-
except:
50-
logging.warning("Julia import failed, RMS reactors not available.")
49+
except Exception as e:
50+
logging.warning(f"Julia import failed, RMS reactors not available.\nException: {str(e)}\nStacktrace:\n{e.__traceback__}")
5151

5252
from rmgpy import constants
5353
from rmgpy.data.kinetics.depository import DepositoryReaction

0 commit comments

Comments
 (0)