-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
None
Summary:
Ensure setupLog.Error(nil, <errorString>) is replaced with setupLog.Error(errors.New()) to prevent missing log lines and improve debugging.
Problem:
- Using nil as the error argument results in no log entry being written.
- This led to empty pod logs in some cases.
- A mechanism should be implemented to prevent this scenario in the future.
Acceptance Criteria:
- Identify and replace all occurrences of setupLog.Error(nil, <errorString>).
- Implement safeguards to prevent similar issues.
- Verify logs are correctly written after the fix.
Related Issues: