send notification

This commit is contained in:
2023-09-28 15:58:11 +08:00
parent de1f9c1e94
commit 1e770db740

View File

@@ -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)
}