-
Notifications
You must be signed in to change notification settings - Fork 655
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(travisclient): make changes to travisClient to use Spinnaker…
… custom exception instead of RetrofitError using SpinnakerRetrofitErrorHandler (#1090) * refactor(travisService/test): replace RetrofitError with SpinnakerRetrofitErrorHandler for custom error handling in travis client * refactor(travisService/test): added null check to response body refactor(travisService/test): response body could be null for eg when a json converter is unable to convert non-json format * refactor(travisService): remove try-catch since e.getBodyAs() is no longer called --------- Co-authored-by: Sheetal Atre <[email protected]>
- Loading branch information
1 parent
ae0d3d5
commit 1c88412
Showing
4 changed files
with
21 additions
and
23 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