Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Commit

Permalink
repository: improve logging for error in UpdateRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Souza committed Feb 19, 2015
1 parent 8c0500a commit 92fa56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func Update(name string, newData Repository) error {
log.Debugf("Updating repository %q data", name)
repo, err := Get(name)
if err != nil {
log.Errorf("repository.Update: Repository %q not found: %s", name, err)
log.Errorf("repository.Update(%q): %s", name, err)
return err
}
conn, err := db.Conn()
Expand Down

0 comments on commit 92fa56a

Please sign in to comment.