Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
BilalG1 committed Jan 17, 2025
1 parent fc88281 commit dc2a9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/test/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ async def test_403_status_on_goto_with_custom_callback(
async def scrape(sdk: SDK, current_url, context) -> None:
await sdk.save_data({"key": "this shouldn't be saved if GotoError is raised"})

async def custom_error_handler(url, status_code):
async def custom_error_handler(url, status_code, *args):
print(f"Handled {status_code} for {url} gracefully.")

error_callback = custom_error_handler
Expand Down

0 comments on commit dc2a9b5

Please sign in to comment.