Update tasks.py
allows wait to task to complete if url if not found
This commit is contained in:
+1
-1
@@ -54,4 +54,4 @@ class Tasks:
|
|||||||
raise Exception(f"Task failed: {task_info.get('CompleteReason', 'No reason provided')}")
|
raise Exception(f"Task failed: {task_info.get('CompleteReason', 'No reason provided')}")
|
||||||
except requests.exceptions.RequestException as e:
|
except requests.exceptions.RequestException as e:
|
||||||
logging.error(f"Request failed: {e}")
|
logging.error(f"Request failed: {e}")
|
||||||
raise
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user