Updates:
Summary: `Wait Until Keyword Succeeds` should report the last error message when it fails
        Status: Accepted
        Labels: Target-2.1.3

Comment #1 on issue 460 by pekka.klarck: `Wait Until Keyword Succeeds` should report the last error message when it fails
http://code.google.com/p/robotframework/issues/detail?id=460

Sounds reasonable. Because the earlier errors could be different than the last one,
we could also construct the message like this:

    except:
        raise AssertionError("Timeout %s exceeded. The last error was: %s"
                             % (utils.secs_to_timestr(timeout),
                                utils.get_error_message())

Notice that this example also uses utils.get_error_message which will format the
exception nicely.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to