Merge pull request #35 from myronzhangweb3/fix-send-msg

Fix send msg
This commit is contained in:
Laisky.Cai
2025-03-09 20:48:32 +08:00
committed by GitHub
2 changed files with 17 additions and 1 deletions

View File

@@ -270,7 +270,7 @@ func testChannels(ctx context.Context, notify bool, scope string) error {
if notify {
err := message.Notify(message.ByAll, "Channel test completed", "", "Channel test completed, if you have not received the disable notification, it means that all channels are normal")
if err != nil {
logger.SysError(fmt.Sprintf("failed to send email: %s", err.Error()))
logger.SysError(fmt.Sprintf("failed to send notify: %s", err.Error()))
}
}
}()