From e8dd9c7a8259eab9faccd9c85f7de2aab2f0365b Mon Sep 17 00:00:00 2001 From: softwareengineerprogrammer <4056124+softwareengineerprogrammer@users.noreply.github.com> Date: Wed, 4 Oct 2023 14:14:08 -0700 Subject: [PATCH] Explicitly log full exception in AGSOutputs --- src/geophires_x/AGSOutputs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/geophires_x/AGSOutputs.py b/src/geophires_x/AGSOutputs.py index c72e22a4..c8d0d8de 100644 --- a/src/geophires_x/AGSOutputs.py +++ b/src/geophires_x/AGSOutputs.py @@ -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)