bug fix, a sucessful pipeline completion resulted in error message...

bug fix, a successful dimension save resulted in failed save and skip the rest of processing
This commit is contained in:
Jake Pullen
2024-08-10 18:47:06 +01:00
parent 812e107013
commit 861ccd0dc4
2 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -74,5 +74,8 @@ if __name__ == '__main__':
main()
except SystemExit as e:
exit_code = e.code
logging.error(f'Program exited with code {exit_code}')
if exit_code == ec.SUCCESS:
logging.info('Program exited successfully')
else:
logging.error(f'Program exited with code {exit_code}')
raise