mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
py3: Fix exception handling in wait_on method
This commit is contained in:
@@ -982,7 +982,7 @@ def wait_on_state(state_func, desc="state", skip_states=["running", "queued", "n
|
||||
return wait_on(get_state, desc=desc, timeout=timeout)
|
||||
except TimeoutAssertionError as e:
|
||||
response = state_func()
|
||||
raise TimeoutAssertionError("%s Current response containing state [%s]." % (e.message, response.json()))
|
||||
raise TimeoutAssertionError("%s Current response containing state [%s]." % (str(e), response.json()))
|
||||
|
||||
|
||||
class GiPostGetMixin:
|
||||
|
||||
Reference in New Issue
Block a user