{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/nightmare/issues/458","labels_url":"https://api.github.com/repos/segmentio/nightmare/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/nightmare/issues/458/comments","events_url":"https://api.github.com/repos/segmentio/nightmare/issues/458/events","html_url":"https://github.com/segmentio/nightmare/pull/458","id":129848253,"number":458,"title":"Fix failed wait with queued up functions","user":{"login":"joshgummersall","id":1235378,"avatar_url":"https://avatars.githubusercontent.com/u/1235378?v=3","gravatar_id":"","url":"https://api.github.com/users/joshgummersall","html_url":"https://github.com/joshgummersall","followers_url":"https://api.github.com/users/joshgummersall/followers","following_url":"https://api.github.com/users/joshgummersall/following{/other_user}","gists_url":"https://api.github.com/users/joshgummersall/gists{/gist_id}","starred_url":"https://api.github.com/users/joshgummersall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshgummersall/subscriptions","organizations_url":"https://api.github.com/users/joshgummersall/orgs","repos_url":"https://api.github.com/users/joshgummersall/repos","events_url":"https://api.github.com/users/joshgummersall/events{/privacy}","received_events_url":"https://api.github.com/users/joshgummersall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-29T18:42:36Z","updated_at":"2016-02-01T06:49:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/segmentio/nightmare/pulls/458","html_url":"https://github.com/segmentio/nightmare/pull/458","diff_url":"https://github.com/segmentio/nightmare/pull/458.diff","patch_url":"https://github.com/segmentio/nightmare/pull/458.patch"},"body":"If a wait function times out and throws an error with functions queued up (i.e. the wait function is not the last step in a chain of actions) execution should fail immediately, yielding the error that was thrown.\r\n\r\nIf anything else is missing from this PR let me know and I'll be happy to address. Thanks for all the hard work that has gone into this project, it's a pleasure to use!\r\n\r\nIt seems like the following GitHub issues are related:\r\nhttps://github.com/segmentio/nightmare/issues/397\r\nhttps://github.com/segmentio/nightmare/issues/171\r\n"},"comment":{"url":"https://api.github.com/repos/segmentio/nightmare/issues/comments/177810710","html_url":"https://github.com/segmentio/nightmare/pull/458#issuecomment-177810710","issue_url":"https://api.github.com/repos/segmentio/nightmare/issues/458","id":177810710,"user":{"login":"matthewmueller","id":170299,"avatar_url":"https://avatars.githubusercontent.com/u/170299?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewmueller","html_url":"https://github.com/matthewmueller","followers_url":"https://api.github.com/users/matthewmueller/followers","following_url":"https://api.github.com/users/matthewmueller/following{/other_user}","gists_url":"https://api.github.com/users/matthewmueller/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewmueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewmueller/subscriptions","organizations_url":"https://api.github.com/users/matthewmueller/orgs","repos_url":"https://api.github.com/users/matthewmueller/repos","events_url":"https://api.github.com/users/matthewmueller/events{/privacy}","received_events_url":"https://api.github.com/users/matthewmueller/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T06:49:42Z","updated_at":"2016-02-01T06:49:42Z","body":"good catch, thanks! :-)"}}