We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17ef4f9 commit 931a213Copy full SHA for 931a213
1 file changed
cmd/entire/cli/strategy/common.go
@@ -248,7 +248,11 @@ var initRedactionOnce sync.Once
248
func EnsureRedactionConfigured() {
249
initRedactionOnce.Do(func() {
250
s, err := settings.Load()
251
- if err != nil || s.Redaction == nil || s.Redaction.PII == nil || !s.Redaction.PII.Enabled {
+ if err != nil {
252
+ fmt.Fprintf(os.Stderr, "[entire] Warning: failed to load settings for PII redaction: %v\n", err)
253
+ return
254
+ }
255
+ if s.Redaction == nil || s.Redaction.PII == nil || !s.Redaction.PII.Enabled {
256
return
257
}
258
pii := s.Redaction.PII
0 commit comments