diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2023-11-05 10:03:43 +0200 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2023-11-05 10:04:37 +0200 |
commit | 30c0f3eea0b2148902c4f4e94c6fa6a63251b665 (patch) | |
tree | 672e1948a7dadc47b7964bef36f144779a553ece /routes | |
parent | 8f9e7f14ff7ef0fef4a4e828e49ee347c72b94d2 (diff) | |
download | legit-30c0f3eea0b2148902c4f4e94c6fa6a63251b665.tar.gz legit-30c0f3eea0b2148902c4f4e94c6fa6a63251b665.tar.bz2 legit-30c0f3eea0b2148902c4f4e94c6fa6a63251b665.zip |
log errors from git.Open
Diffstat (limited to '')
-rw-r--r-- | routes/routes.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/routes.go b/routes/routes.go index 0cf1c35..daace2f 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -45,6 +45,7 @@ func (d *deps) Index(w http.ResponseWriter, r *http.Request) { path := filepath.Join(d.c.Repo.ScanPath, dir.Name()) gr, err := git.Open(path, "") if err != nil { + log.Println(err) continue } |