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

Occasional Bluebird failures? #72

Closed
nikz opened this issue Sep 24, 2015 · 1 comment
Closed

Occasional Bluebird failures? #72

nikz opened this issue Sep 24, 2015 · 1 comment
Assignees
Labels

Comments

@nikz
Copy link

nikz commented Sep 24, 2015

Every so often snippet generation will fail with blank output. The following gets written to STDERR:

✖ code_sample_322968423736805296.json20150921-8796-1364q6w fail: Catch filter must inherit from Error or be a simple predicate function

    See http://goo.gl/o84o68

(Note that code_sample_322968423736805296.json20150921-8796-1364q6w is just the name of the Tempfile I'm using)

Input JSON looks something like:

{"method":"GET","url":"http://testurl.com/test","httpVersion":"HTTP/1.1","headers":[{"name":"accept","value":"application/json"},{"name":"ApiKey","value":"YOUR API KEY HERE"}],"cookies":[],"queryString":[],"postData":{},"headersSize":-1,"bodySize":-1}

But the error seems intermittent - if I re-run httpsnippet with the same JSON usually it works fine.

@ahmadnassri
Copy link
Contributor

fixed in v1.16.5

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

No branches or pull requests

2 participants