style: happy linting
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Marvin Preuss 2023-02-24 09:21:52 +00:00
parent d5b5c131e7
commit 1d7e0dc701

View File

@ -4,6 +4,7 @@ import (
"bytes"
"context"
"encoding/json"
"fmt"
"net/http"
"net/http/httptest"
"strings"
@ -135,7 +136,7 @@ func TestRequestIDHandler(t *testing.T) {
err := json.Unmarshal([]byte(l), &out)
if err != nil {
return "", err
return "", fmt.Errorf("failed to unmarshal log: %w", err)
}
return out.UUID, nil