Skip to content

Commit 8102178

Browse files
authored
chore: debugf (#2842)
1 parent 154b61b commit 8102178

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hydra/hydra.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func (h *DefaultHydra) AcceptLoginRequest(ctx context.Context, hlc uuid.UUID, su
105105
if r != nil {
106106
innerErr = innerErr.
107107
WithDetail("status_code", r.StatusCode).
108-
WithDebugf("error", err.Error())
108+
WithDebug(err.Error())
109109
}
110110
return "", errors.WithStack(innerErr)
111111
}
@@ -129,7 +129,7 @@ func (h *DefaultHydra) GetLoginRequest(ctx context.Context, hlc uuid.NullUUID) (
129129
if r != nil {
130130
innerErr = innerErr.
131131
WithDetail("status_code", r.StatusCode).
132-
WithDebugf("error", err.Error())
132+
WithDebug(err.Error())
133133
}
134134
return nil, errors.WithStack(innerErr)
135135
}

0 commit comments

Comments
 (0)