(notificationType string, connID uint64, err error)
| 553 | } |
| 554 | |
| 555 | func MetricsHookRecordedError(notificationType string, connID uint64, err error) string { |
| 556 | message := fmt.Sprintf("%s for %s notification on conn[%d]: %v", MetricsHookRecordedErrorMessage, notificationType, connID, err) |
| 557 | return appendJSONIfDebug(message, map[string]interface{}{ |
| 558 | "notificationType": notificationType, |
| 559 | "connID": connID, |
| 560 | "error": err.Error(), |
| 561 | }) |
| 562 | } |
| 563 | |
| 564 | // Pool hook functions |
| 565 | func MarkedForHandoff(connID uint64) string { |
no test coverage detected