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