mirror of
https://github.com/documize/community.git
synced 2025-07-23 23:29:42 +02:00
wrap errors up, log at top level only
This commit is contained in:
parent
ecc94f31c9
commit
476403bf46
28 changed files with 899 additions and 804 deletions
|
@ -16,8 +16,6 @@ import (
|
|||
"html/template"
|
||||
"sort"
|
||||
|
||||
"github.com/documize/community/core/log"
|
||||
|
||||
gogithub "github.com/google/go-github/github"
|
||||
)
|
||||
|
||||
|
@ -166,7 +164,6 @@ func refreshMilestones(gr *githubRender, config *githubConfig, client *gogithub.
|
|||
|
||||
gr.Milestones, err = getMilestones(client, config)
|
||||
if err != nil {
|
||||
log.Error("unable to get github milestones", err)
|
||||
return err
|
||||
}
|
||||
gr.OpenMS = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue