From 54f13e74ff0b1bb413495946f36075633b03c737 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Fri, 8 Mar 2024 15:58:03 +0800 Subject: [PATCH] Error not handled --- tools/component/component.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/component/component.go b/tools/component/component.go index 33fec7c42..f5f908fa3 100644 --- a/tools/component/component.go +++ b/tools/component/component.go @@ -117,7 +117,7 @@ func main() { if strings.Contains(errs.Unwrap(err).Error(), "connection refused") || strings.Contains(errs.Unwrap(err).Error(), "timeout") || strings.Contains(errs.Unwrap(err).Error(), "context deadline exceeded") { - component.ErrorPrint("try check connection") + component.ErrorPrint(fmt.Sprintf("try check connection %s", check.name)) continue } } else {