mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: ensure logs consistency across Coder (#8083)
This commit is contained in:
@@ -69,7 +69,7 @@ func logNotAuthorizedError(ctx context.Context, logger slog.Logger, err error) e
|
||||
return &contextError
|
||||
}
|
||||
logger.Debug(ctx, "unauthorized",
|
||||
slog.F("internal", internalError.Internal()),
|
||||
slog.F("internal_error", internalError.Internal()),
|
||||
slog.F("input", internalError.Input()),
|
||||
slog.Error(err),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user