Open nicolemah99 opened 2 weeks ago
Critical Failure Points
If any of these fail, the script should log and attempt to move on to next meter/set of directories. If some values for meters and directories are missing, the script can move to the next instead of failing.
Summary: Refactor the existing scripts to use custom error codes consistently and provide detailed logging messages. This will ensure that failures are handled gracefully and clearly, improving the robustness, maintainability, and debuggability of the scripts.
Objectives:
Define and Use Custom Error Codes:
Identify Critical Failure Points:
Implement Detailed Logging:
Proposed Solution:
Example Config:
Tasks: