Catch an error when trying to fetch profile of non-existent user
Problem for #69 was that it for whatever reason returned one empty page at some point even though the pages after that still contained results. Fixed by breaking from the loop only when there have been 5 consecutive empty pages (or the cursor to next page is undefined).
Problem for #69 was that it for whatever reason returned one empty page at some point even though the pages after that still contained results. Fixed by breaking from the loop only when there have been 5 consecutive empty pages (or the cursor to next page is undefined).