mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
apps/gophers: don't crash if fetching commits fail
This commit is contained in:
@@ -423,7 +423,8 @@ func (up *userPage) fetchCommits() {
|
||||
Author: up.user.login,
|
||||
})
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
log.Printf("failed to fetch commits: %v", err)
|
||||
return
|
||||
}
|
||||
var commits []*github.Commit
|
||||
for _, commit := range repoCommits {
|
||||
|
||||
Reference in New Issue
Block a user