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

Error publish #700

Merged
merged 2 commits into from
Oct 6, 2017
Merged

Error publish #700

merged 2 commits into from
Oct 6, 2017

Conversation

matteofigus
Copy link
Member

Fixes #696

I double checked the s3 error API: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Response.html#error-property and added a test to fix the issue.

When we were using give-me instead of async the error could be an array: https://github.com/opentable/oc/blob/43841cd446b01975bee204941ce66399cb5899ed/registry/domain/s3.js#L109 but the putDir method in s3 is now the result of an async.each which returns the first error that encounters.

Copy link
Contributor

@nickbalestra nickbalestra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nickbalestra nickbalestra merged commit 87a2d39 into master Oct 6, 2017
@nickbalestra nickbalestra deleted the error-publish branch October 6, 2017 17:41
@nickbalestra
Copy link
Contributor

@matteofigus I'll leave it to you to release a new version

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.

Not able to bring up my node js registry client with oc 0.41.9
2 participants