fallback to feed if patch fails to apply
This commit is contained in:
@@ -69,7 +69,7 @@ func updateFeed(feedResp []byte, gamePk, ts, updateId string) ([]byte, error) {
|
||||
for _, patch := range patches {
|
||||
feedResp, err = patch.Apply(feedResp)
|
||||
if err != nil {
|
||||
break
|
||||
return statsapi.RequestFeed(gamePk)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user