From 1e770db740362f67a7742117739d178005a97d61 Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Thu, 28 Sep 2023 15:58:11 +0800 Subject: [PATCH] send notification --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 4b64d98..3accd19 100644 --- a/main.go +++ b/main.go @@ -231,8 +231,8 @@ func main() { c.ClientIP(), upstream.ID, upstream.SK, upstream.Endpoint, err.Error(), ) - go sendMatrixMessage(content) if err.Error() != "context canceled" && r.Response.StatusCode != 400 { + go sendMatrixMessage(content) go sendFeishuMessage(content) }