Skip to content

Commit 37f5aa1

Browse files
committed
Update redis.go
Signed-off-by: Luke Massa <[email protected]>
1 parent b6313f4 commit 37f5aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/core/redis/redis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func (r *RedisDB) UpdateProjectStatus(pull models.PullRequest, workspace string,
268268

269269
err = r.writePull(key, currStatus)
270270
if err != nil {
271-
errors.Wrap(err, "db transaction failed")
271+
return errors.Wrap(err, "db transaction failed")
272272
}
273273
return nil
274274
}

0 commit comments

Comments
 (0)