Replies: 1 comment
-
Well, actually str_error contains very detailed information. I didn't find that just because I forget to scroll down in the saved excel file. Problem solved. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ALL,
May I ask are there any ways to save detailed description of errors or warnings like 'expeirment infesible... zero electrolyte concentration cut-off' into files?
I google a bit and try
try ... except ...
andstr_error = traceback.format_exc()
However, the str_error only contains something like
'Traceback (most recent call last):
File "xxxx\Fun_P2_Union.py", line 501, in Run_model
Sol_0 = Sim_0.solve()',
which doesn't contain detailed information.
Big thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions