Task #27995
Add panic detection to exit logharbour consumer process on panic errors
Start date:
16/06/2025
Due date:
% Done:
100%
Estimated time:
Description
Currently, when a goroutine panicked, the error was only logged but the consumer process continued running.
Modify the error handler to detect panic errors and immediately exit the process with code 1. This will ensure:
- Panics are not silently ignored
- The process exits cleanly for orchestrators to restart
- No partial failure states with dead goroutines
Updated by Sachin Divekar about 2 months ago
- % Done changed from 0 to 100
- Status changed from Testing to Closed