Skip to content

Commit

Permalink
add error result
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Aug 9, 2024
1 parent 6da5581 commit 8168149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_API.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def wait_for_task_completion(track_link, max_attempts=12, interval_seconds=5):
if check_status == "SUCCESS":
return res # Task completed successfully
if check_status == "FAILURE":
raise AssertionError("Task failed")
raise AssertionError(f"Task failed {res}")

if attempt == max_attempts:
raise AssertionError(
Expand Down

0 comments on commit 8168149

Please sign in to comment.