Skip to content

Commit

Permalink
Explicitly log full exception in AGSOutputs
Browse files Browse the repository at this point in the history
  • Loading branch information
softwareengineerprogrammer committed Oct 4, 2023
1 parent 754b07c commit e8dd9c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/geophires_x/AGSOutputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ def PrintOutputs(self, model: Model):
model.logger.critical(str(ex))
model.logger.critical(
"Error: GEOPHIRES Failed to write the output file. Exiting....Line %i" % tb.tb_lineno)
model.logger.critical(f'Exception: {ex}')
sys.exit()

model.logger.info("Complete " + str(__class__) + ": " + sys._getframe().f_code.co_name)

0 comments on commit e8dd9c7

Please sign in to comment.