this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

carstore: fix slog logging / Errorf wrap

authored by

bryan newbold and committed by
Brian Olson
988c1182 5cdb0fe8

+2 -2
+2 -2
carstore/scylla.go
··· 442 442 for xcid := range cidchan { 443 443 err := sqs.ReadSession.Query("DELETE FROM blocks WHERE uid = ? AND cid = ?", user, xcid.Bytes()).Exec() 444 444 if err != nil { 445 - sqs.log.Warn("ReadUserCar bad delete, %w", err) 445 + sqs.log.Warn("ReadUserCar bad delete", "err", err) 446 446 errcount++ 447 447 if errcount > 10 { 448 - return err 448 + return fmt.Errorf("ReadUserCar bad delete: %w", err) 449 449 } 450 450 } 451 451 nblocks++