Closed jamsden closed 6 years ago
Added Status class for maintaining a status code for use by an application. The examined all the places the app raised an exception or logged an error, and set the status appropriately.
Status is initialized to 0. 0 - implies the application completed normally -1 - the application completed, but there were some issues. Users should explore the log and resolve the issues as needed. -2 - the application could not run at all, either because there were errors on the command line, or it couldn't connect to other required servers.
New requirement: Provide success or failure status code based on whether any exceptions were raised that resulted in at least some update not completing.
This facilitates using the program in scripts.