send notification
This commit is contained in:
2
main.go
2
main.go
@@ -231,8 +231,8 @@ func main() {
|
|||||||
c.ClientIP(),
|
c.ClientIP(),
|
||||||
upstream.ID, upstream.SK, upstream.Endpoint, err.Error(),
|
upstream.ID, upstream.SK, upstream.Endpoint, err.Error(),
|
||||||
)
|
)
|
||||||
go sendMatrixMessage(content)
|
|
||||||
if err.Error() != "context canceled" && r.Response.StatusCode != 400 {
|
if err.Error() != "context canceled" && r.Response.StatusCode != 400 {
|
||||||
|
go sendMatrixMessage(content)
|
||||||
go sendFeishuMessage(content)
|
go sendFeishuMessage(content)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user