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

Added timeout option and improve error messages #59

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

philipp-classen
Copy link

  • New timeout option (defaults to 0)
  • Nicer error messages if err != null

- Nicer error messages if err != null
@philipp-classen
Copy link
Author

I don't think the build breaks because of this patch.

When I run "npm test" locally against the current master, the upload test fails, too:

$ npm test
...

Before tests begin
✓ test/uploads should be created

✗ Errored » Asynchronous Error
in api-easy/upload
in test/upload-test.js

✗ Errored » callback not fired
in When using a APIeasy suite an upload test against a local test server
in api-easy/upload
in test/upload-test.js
✗ Errored » 35 honored ∙ 2 errored ∙ 1 dropped

Philipp Classen added 2 commits June 3, 2014 15:17
callback was not fired if the file was not found
@philipp-classen
Copy link
Author

new: Added support for OPTIONS requests + fixed a missing callback in 'upload'

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

Successfully merging this pull request may close these issues.

1 participant