feat: improve workflow log

This commit is contained in:
Fu Diwei
2025-06-09 10:06:41 +08:00
parent d58109f4be
commit bd26dfecb8
6 changed files with 11 additions and 9 deletions

View File

@@ -28,9 +28,8 @@ func NewNotifyNode(node *domain.WorkflowNode) *notifyNode {
}
func (n *notifyNode) Process(ctx context.Context) error {
n.logger.Info("ready to send notification ...")
nodeCfg := n.node.GetConfigForNotify()
n.logger.Info("ready to send notification ...", slog.Any("config", nodeCfg))
if nodeCfg.Provider == "" {
// Deprecated: v0.4.x 将废弃