summaryrefslogtreecommitdiffstats
path: root/models/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/status.go')
-rw-r--r--models/status.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/status.go b/models/status.go
index 93d82b76fc..9cfd9e896f 100644
--- a/models/status.go
+++ b/models/status.go
@@ -281,7 +281,7 @@ func ParseCommitsWithStatus(oldCommits *list.List, repo *Repository) *list.List
}
statuses, err := GetLatestCommitStatus(repo, commit.ID.String(), 0)
if err != nil {
- log.Error(3, "GetLatestCommitStatus: %v", err)
+ log.Error("GetLatestCommitStatus: %v", err)
} else {
commit.Status = CalcCommitStatus(statuses)
}