-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
This is a code cleanup followup to RHELC-1319. Again, from clean code perspective, a logging function should not cause a program to exit which is what happens now when we call logger.critical_with_exit().
Acceptance criteria:
- Port individual uses of logger.critical_with_exit() to logger.critical(). For each usage this requires:
- Switching the call
- Defining or deciding on an appropriate exception to raise instead
- Auditing all the code's callers to catch and deal with the new exception if appropriate.
- When all uses of logger.critical() have been ported, remove critical_with_exit() and supporting code in logger.py
- depends on
-
RHELC-1319 critical -> critical_with_exit & critical_no_exit -> critical
- To Do