Don't prematurely exit updateGitHubStatus()
This commit is contained in:
parent
78839ece3b
commit
cf9b791071
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ func updateGitHubStatus(repo *Repo, commit *Commit) error {
|
|||
// get the user from the database
|
||||
// since we need his / her GitHub token
|
||||
user, err := database.GetUser(repo.UserID)
|
||||
if err == nil {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue