Commit e9a6fb36 authored by Raphael Beer's avatar Raphael Beer

Add: debug-log NoRepliesError results

parent c9aac7ef
......@@ -10,6 +10,8 @@ class TimelineTermination:
result = await response.json()
if result.get("name", None) == "APIError" and result["errors"][0]["code"] == "ENOREPLIES":
global debug
debug('[TimelineTermination] ' + tweet_id + 'has no replies - can not test.')
result = None
return result
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