diff options
Diffstat (limited to 'backend/auth/auth.go')
| -rw-r--r-- | backend/auth/auth.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/auth/auth.go b/backend/auth/auth.go index d5264ec..babbe68 100644 --- a/backend/auth/auth.go +++ b/backend/auth/auth.go @@ -3,7 +3,7 @@ package auth import ( "context" "errors" - "log" + "log/slog" "time" "github.com/jackc/pgx/v5" @@ -93,7 +93,7 @@ func signup( go func() { err := account.FetchIcon(context.Background(), queries, int(userID)) if err != nil { - log.Printf("%v", err) + slog.Error("failed to fetch icon", "error", err) // The failure is intentionally ignored. Retry manually if needed. } }() |
