diff --git a/pkg/hubtest/hubtest_item.go b/pkg/hubtest/hubtest_item.go index 618427f4a66..7fdc86f895c 100644 --- a/pkg/hubtest/hubtest_item.go +++ b/pkg/hubtest/hubtest_item.go @@ -426,7 +426,9 @@ func (t *HubTestItem) RunWithNucleiTemplate(ctx context.Context) error { } } - crowdsecDaemon.Process.Kill() + if err := crowdsecDaemon.Process.Kill(); err != nil { + log.Errorf("unable to kill crowdsec daemon for test '%s': %s", t.Name, err) + } return nil }