-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
There are a number of internal functions that panic when hitting an unexpected situation, e.g. message_query.AddMeta.
Many of these are effectively "should never get here" sentinels, but nonetheless, these should be converted to return errors whenever possible. When not possible, we must ensure such panics are caught with deferred recover() calls.
- related to
-
GODRIVER-198 Ensure panics are handled when running functions in goroutines
- Closed
-
GODRIVER-2432 Improve panic handling in background processes
- Closed