Merge pull request #2 from dbeer/exceptions

Fix exception reraising
This commit is contained in:
Kristen Newbury
2023-01-12 12:23:00 -05:00
committed by GitHub Enterprise

View File

@@ -95,7 +95,7 @@ except Exception:
# will have gathered errors/warnings # will have gathered errors/warnings
status_writer.csv_write_warnings() status_writer.csv_write_warnings()
#pass the exception up to be put into log by runner #pass the exception up to be put into log by runner
raise(Exception) raise
# #
# Form output tables # Form output tables
@@ -161,7 +161,7 @@ try:
except Exception: except Exception:
#possible warnings accumulated #possible warnings accumulated
status_writer.csv_write_warnings() status_writer.csv_write_warnings()
raise Exception raise
# #
# Setup rest of basetables # Setup rest of basetables
@@ -271,4 +271,4 @@ _write_dataframes_of(scantabs)
write('codeflows', bt.codeflows) write('codeflows', bt.codeflows)
status_writer.warning_set["success"]+=1 status_writer.warning_set["success"]+=1
status_writer.csv_write_warnings() status_writer.csv_write_warnings()