Open ShadowySpirits opened 9 months ago
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.
https://github.com/chaos-mesh/chaosd/blob/19a157239ebc523c9c6e8e3656c4918a1bc83929/pkg/server/chaosd/process.go#L38-L49
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.
https://github.com/chaos-mesh/chaosd/blob/19a157239ebc523c9c6e8e3656c4918a1bc83929/pkg/server/chaosd/process.go#L38-L49