Better logging for local debugging

This commit is contained in:
Dylan 2023-12-16 16:37:01 +00:00
parent c47ac173dc
commit dabe5989a8

View File

@ -290,7 +290,7 @@ def extractStatus(url,workaroundTokens=None):
try:
return method(url,workaroundTokens)
except Exception as e:
print(f"{method.__name__} method failed: {str(e)}")
print(f"{method.__name__} method failed: {str(e)} for {url}")
continue
raise TwExtractError(400, "Extract error")