feat(channel): redact credentials from IM error messages (#240)

This commit is contained in:
Menci
2026-03-14 21:27:32 +08:00
committed by GitHub
parent e7844dfa89
commit be3d769013
19 changed files with 474 additions and 15 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ func (s *feishuOutboundStream) Push(ctx context.Context, event channel.StreamEve
}
return nil
case channel.StreamEventError:
errText := strings.TrimSpace(event.Error)
errText := channel.RedactIMErrorText(strings.TrimSpace(event.Error))
if errText == "" {
return nil
}