This repository has been archived by the owner on Apr 30, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change thrown exception types to conform to Wagon
Changed the exception types thrown from some of the S3 interactions to better conform to the expected Wagon behavior. This was done to work around the fact that even though the Wagon API has a method to determine if a file exists, the `deploy` operation does not call it before trying to get a file. In the case that you are deploying a project to a repository for the first time, many files won't already exist causing issues. The `SimpleStorageServiceWagon` now throws `ResourceDoesNotExistException`s where it makes sense. Currently the wagon probably throws the wrong type of exceptions in some cases as its exception handling is very broad in some cases. This is a subject for future improvement.
- Loading branch information
Showing
4 changed files
with
24 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters