diff options
Diffstat (limited to 'models/action.go')
-rw-r--r-- | models/action.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models/action.go b/models/action.go index 1174929354..9471e9810e 100644 --- a/models/action.go +++ b/models/action.go @@ -92,10 +92,12 @@ func CommitRepoAction(userId int64, userName string, // Update repository last update time. repo, err := GetRepositoryByName(userId, repoName) if err != nil { + log.Error("action.CommitRepoAction(GetRepositoryByName): %d/%s", userId, repo.LowerName) return err } repo.IsBare = false if err = UpdateRepository(repo); err != nil { + log.Error("action.CommitRepoAction(UpdateRepository): %d/%s", userId, repo.LowerName) return err } |