From dabe5989a802cd9850276ff217bb1cb873117afe Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 16 Dec 2023 16:37:01 +0000 Subject: [PATCH] Better logging for local debugging --- twExtract/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twExtract/__init__.py b/twExtract/__init__.py index 4ee7aba..1caa181 100644 --- a/twExtract/__init__.py +++ b/twExtract/__init__.py @@ -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")