-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
When the process is terminated, L46 will throw an error. This will cause a 500 response that failed injection but it could be a success in the previous loop. It's better to ignore this error and look up the following processes.
chaosd/pkg/server/chaosd/process.go
Lines 38 to 49 in 19a1572
processes, err := process.Processes() | |
if err != nil { | |
return errors.WithStack(err) | |
} | |
notFound := true | |
for _, p := range processes { | |
pid := int(p.Pid) | |
name, err := p.Name() | |
if err != nil { | |
return errors.WithStack(err) | |
} |
Metadata
Metadata
Assignees
Labels
No labels