We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3891928 commit 05b8886Copy full SHA for 05b8886
src/geophires_x/OutputsS_DAC_GT.py
@@ -99,11 +99,13 @@ def PrintOutputs(self, model) -> tuple:
99
100
except BaseException as ex:
101
tb = sys.exc_info()[2]
102
+ msg = "Error: GEOPHIRES failed to Failed to write the output file. Exiting...Line %i" % tb.tb_lineno
103
+
104
print(str(ex))
- print("Error: GEOPHIRES failed to Failed to write the output file. Exiting....Line %i" % tb.tb_lineno)
105
+ print(msg)
106
model.logger.critical(str(ex))
- model.logger.critical("Error: GEOPHIRES failed to Failed to write the output file. Exiting....Line %i" % tb.tb_lineno)
- sys.exit()
107
+ model.logger.critical(msg)
108
+ raise RuntimeError(msg, e)
109
110
model.logger.info(f'Complete {str(__class__)}: {__name__}')
111
0 commit comments