Skip to content

Conversation

bkw
Copy link
Contributor

@bkw bkw commented Nov 8, 2014

Access violations or non-existant buckets seem to only manifest in finishSinglePart().
This trivial PR checks for errors and passes them up to the callback, before trying to manipulate data, which in these cases is undefined.

otherwise, setting `Location` on `data` will raise.
@bkw
Copy link
Contributor Author

bkw commented Nov 9, 2014

The failed travis test is due to linting violations, which were already fixed in master.
I do have an integration branch ready to merge that is in sync with master and also fixes the test for the mock region name (see bkw/aws-sdk-js@d4caa6fa4)

lsegal added a commit that referenced this pull request Nov 21, 2014
pass error to callback early in finishSinglePart
@lsegal lsegal merged commit 4a587f9 into aws:s3-managed-upload Nov 21, 2014
@lsegal
Copy link
Contributor

lsegal commented Nov 21, 2014

Thanks for the fix!

lsegal added a commit that referenced this pull request Dec 10, 2014
@lock
Copy link

lock bot commented Sep 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants