Commit b2815b91 authored by Raphael Beer's avatar Raphael Beer

Chore: pull in prod changes

parent 57ebf3b8
...@@ -325,6 +325,7 @@ class TwitterSession: ...@@ -325,6 +325,7 @@ class TwitterSession:
reference_session = next_session() reference_session = next_session()
if reference_session is None: if reference_session is None:
debug('No reference session')
return return
global account_index global account_index
...@@ -370,7 +371,7 @@ class TwitterSession: ...@@ -370,7 +371,7 @@ class TwitterSession:
result = {"timestamp": time.time()} result = {"timestamp": time.time()}
profile = {} profile = {}
profile_raw = await self.profile_raw(username) profile_raw = await self.profile_raw(username)
debug(str(profile_raw)) debug('Testing ' + str(username))
if is_another_error(profile_raw, [50, 63]): if is_another_error(profile_raw, [50, 63]):
debug("Other error:" + str(username)) debug("Other error:" + str(username))
raise UnexpectedApiError raise UnexpectedApiError
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment