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

Adds error logging for getDomainName API fail #434

Conversation

adamrhunter
Copy link
Contributor

Description of Issue Fixed
If getCustomDomainInfo throws an error who's code is not "NotFoundException", there is no information written to the log. This prevents the user from knowing the cause of the failure.

Changes proposed in this pull request:
Add logging of the error to the console

  • Update the comment describing the function
  • Add a log statement with the error and domain name

@rddimon rddimon merged commit 3338f3e into amplify-education:master Jul 26, 2021
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.

2 participants