(panicValue interface{})
| 521 | } |
| 522 | |
| 523 | func 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 | |
| 530 | func WorkerExitingDueToInactivityTimeout(timeout interface{}) string { |
| 531 | message := fmt.Sprintf("%s (%v)", WorkerExitingDueToInactivityTimeoutMessage, timeout) |
no test coverage detected