diff --git a/libbeat/processors/add_process_metadata/add_process_metadata_test.go b/libbeat/processors/add_process_metadata/add_process_metadata_test.go index 8adef5b82b3..81816f1a87a 100644 --- a/libbeat/processors/add_process_metadata/add_process_metadata_test.go +++ b/libbeat/processors/add_process_metadata/add_process_metadata_test.go @@ -43,7 +43,7 @@ func TestAddProcessMetadata(t *testing.T) { capMock, err := capabilities.FromUint64(0xabacabb) if err != nil { - t.Fatal(err) + t.Fatalf("could not instantiate capabilities: %s", err) } startTime := time.Now() testProcs := testProvider{