Project

General

Profile

Task #27995

Add panic detection to exit logharbour consumer process on panic errors

Added by Sachin Divekar about 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Target version:
-
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
#1

Updated by Sachin Divekar about 2 months ago

  • Status changed from New to In Progress
#2

Updated by Sachin Divekar about 2 months ago

  • Status changed from In Progress to Testing
#3

Updated by Sachin Divekar about 2 months ago

  • % Done changed from 0 to 100
  • Status changed from Testing to Closed

Also available in: Atom PDF