When fetching events over the RPC, the loop should halt when there’s no continuation token in the response. However, we noticed that another call is made to the RPC with continuation_token as last_page_reached. This call fails and after that the loop halts.
So we moved that part inside else. Not sure if this is the pragmatic way but it fixes the problem.
When fetching events over the RPC, the loop should halt when there’s no
continuation token
in the response. However, we noticed that another call is made to the RPC withcontinuation_token
aslast_page_reached
. This call fails and after that the loop halts.So we moved that part inside else. Not sure if this is the pragmatic way but it fixes the problem.