Don't prematurely exit updateGitHubStatus()

This commit is contained in:
Scott Ferguson 2014-02-09 19:04:06 -06:00
parent 78839ece3b
commit cf9b791071

View file

@ -218,7 +218,7 @@ func updateGitHubStatus(repo *Repo, commit *Commit) error {
// get the user from the database // get the user from the database
// since we need his / her GitHub token // since we need his / her GitHub token
user, err := database.GetUser(repo.UserID) user, err := database.GetUser(repo.UserID)
if err == nil { if err != nil {
return err return err
} }