summaryrefslogtreecommitdiffstats
path: root/models/update.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/update.go')
-rw-r--r--models/update.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/update.go b/models/update.go
index 53591fa42e..ba0e979348 100644
--- a/models/update.go
+++ b/models/update.go
@@ -39,12 +39,12 @@ func Update(refName, oldCommitId, newCommitId, userName, repoName string, userId
if isNew {
l, err = newCommit.CommitsBefore()
if err != nil {
- qlog.Fatalf("Find CommitsBefore erro:", err)
+ qlog.Fatalf("Find CommitsBefore erro: %v", err)
}
} else {
l, err = newCommit.CommitsBeforeUntil(oldCommitId)
if err != nil {
- qlog.Fatalf("Find CommitsBeforeUntil erro:", err)
+ qlog.Fatalf("Find CommitsBeforeUntil erro: %v", err)
return
}
}