MCPcopy
hub / github.com/redis/go-redis / WorkerPanicRecovered

Function WorkerPanicRecovered

internal/maintnotifications/logs/log_messages.go:523–528  ·  view source on GitHub ↗
(panicValue interface{})

Source from the content-addressed store, hash-verified

521}
522
523func WorkerPanicRecovered(panicValue interface{}) string {
524 message := fmt.Sprintf("%s: %v", WorkerPanicRecoveredMessage, panicValue)
525 return appendJSONIfDebug(message, map[string]interface{}{
526 "panic": fmt.Sprintf("%v", panicValue),
527 })
528}
529
530func WorkerExitingDueToInactivityTimeout(timeout interface{}) string {
531 message := fmt.Sprintf("%s (%v)", WorkerExitingDueToInactivityTimeoutMessage, timeout)

Callers 1

onDemandWorkerMethod · 0.92

Calls 1

appendJSONIfDebugFunction · 0.85

Tested by

no test coverage detected