this repo has no description
0
fork

Configure Feed

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

athome: fix error formatting

+3 -3
+3 -3
cmd/athome/handlers.go
··· 49 49 if err != nil { 50 50 slog.Warn("failed to fetch handle", "handle", handle, "err", err) 51 51 // TODO: only if "not found" 52 - return echo.NewHTTPError(404, "handle not found: %s", handle) 52 + return echo.NewHTTPError(404, fmt.Sprintf("handle not found: %s", handle)) 53 53 } 54 54 did := pv.Did 55 55 data["did"] = did ··· 76 76 if err != nil { 77 77 slog.Warn("failed to fetch handle", "handle", handle, "err", err) 78 78 // TODO: only if "not found" 79 - return echo.NewHTTPError(404, "handle not found: %s", handle) 79 + return echo.NewHTTPError(404, fmt.Sprintf("handle not found: %s", handle)) 80 80 } else { 81 81 req := c.Request() 82 82 data["profileView"] = pv ··· 122 122 if err != nil { 123 123 slog.Warn("failed to fetch handle", "handle", handle, "err", err) 124 124 // TODO: only if "not found" 125 - return echo.NewHTTPError(404, "handle not found: %s", handle) 125 + return echo.NewHTTPError(404, fmt.Sprintf("handle not found: %s", handle)) 126 126 //return err 127 127 } 128 128