-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve endpoints error when missing traits
Old error was a generic NoSuchElementException and was thrown even if a sigv4 trait was defined but service was not. Now we only throw if both are undefined and the exception explains that the traits are required. ``` No aws.auth#sigv4 or aws.api#service trait, required for Endpoint default signing name ```
- Loading branch information
Showing
1 changed file
with
18 additions
and
6 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