realbrowserlocusts icon indicating copy to clipboard operation
realbrowserlocusts copied to clipboard

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

Open mektebi opened this issue 5 years ago • 0 comments

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,

mektebi avatar Jan 06 '20 11:01 mektebi