Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in task method is handled but not reported as a failure #10

Open
mektebi opened this issue Jan 6, 2020 · 0 comments
Open

Comments

@mektebi
Copy link

mektebi commented Jan 6, 2020

Hi,

If an unhandled exception occurs in a task method it is handled by the framework and
tasks continue to be executed by the Realbrowserlocusts but not reported as a failure. If you are
only looking at the final success/failure rate - perhaps programmatically - it is easier
to miss the exception.
Especially when wait throw timeout exception raise TimeoutException(message, screen, stacktrace)
My log selenium.common.exceptions.TimeoutException: Message:
TypeError: on_request_failure() missing 1 required positional argument: 'response_length'
result = func(*args, **kwargs)
selenium.common.exceptions.TimeoutException: Message:

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant