This commit is contained in:
@@ -565,4 +565,10 @@ async def detect_pagination_service(decoded_url):
|
||||
}
|
||||
|
||||
# Perform the operation
|
||||
return await safe_browser_operation(decoded_url, pagination_operation)
|
||||
result = await safe_browser_operation(decoded_url, pagination_operation)
|
||||
|
||||
# Check if the result is an error from safe_browser_operation
|
||||
if isinstance(result, dict) and result.get("status") == "error":
|
||||
return result
|
||||
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user