Monorepo for Tangled tangled.org
2

Configure Feed

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

knotserver: just continue if orphan repo, don't abort

Lewis: May this revision serve well! <lewis@tangled.org>

author
Lewis
date (May 11, 2026, 1:03 PM +0300) commit 96a52c9e parent e07d17bc change-id qnqtstzr
+5
+5
hook/setup.go
··· 6 6 "errors" 7 7 "fmt" 8 8 "io/fs" 9 + "log/slog" 9 10 "os" 10 11 "path/filepath" 11 12 "strings" ··· 74 75 75 76 userPath := filepath.Join(config.scanPath, did) 76 77 if err := SetupRepo(config, userPath); err != nil { 78 + if errors.Is(err, ErrNoGitRepo) { 79 + slog.Warn("hook setup: skipping non-repo entry", "path", userPath, "err", err) 80 + continue 81 + } 77 82 return err 78 83 } 79 84 }