From 61e814119dde6dca7d8779fcf39fd0428ea99ecc Mon Sep 17 00:00:00 2001 From: shadow1ng Date: Thu, 27 May 2021 14:19:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dssh=E8=B7=B3=E8=BF=87?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/log.go b/common/log.go index bcb1771..02f2873 100644 --- a/common/log.go +++ b/common/log.go @@ -73,9 +73,9 @@ func CheckErrs(err error) bool { "established connection failed", "connection attempt failed", "Unable to read", "is not allowed to connect to this", "no pg_hba.conf entry", - "no supported methods remain", "No connection could be made", "invalid packet size", + "bad connection", } for _, key := range errs { if strings.Contains(strings.ToLower(err.Error()), strings.ToLower(key)) {