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

Remove unnecessary error.log #11084

Merged
merged 2 commits into from
Apr 7, 2023

Conversation

johnf
Copy link
Contributor

@johnf johnf commented Mar 13, 2023

Description of changes

The error log creates noise when developing. Specifically, in react-native you get an error box overlayed on the app. The library is already throwing an error, so upstream code has to deal with it, there isn't any value in logging at error level.

Issue #, if available

N/A

Description of how you validated changes

N/A - Trivial change.

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The error log creates noise when developing. Specifically in
react-native you get an error box overlayed on the app. The library is already
throwing an error, so upstream code has to deal with it, there isn't any
value in logging at error level.
@johnf johnf requested a review from a team as a code owner March 13, 2023 20:50
Copy link
Member

@cwomack cwomack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @johnf for submitting this PR. LGTM!

@jimblanc
Copy link
Contributor

jimblanc commented Apr 7, 2023

Thank you for your contribution! I went ahead and merged your change.

@jimblanc jimblanc merged commit 26fa797 into aws-amplify:main Apr 7, 2023
cshfang pushed a commit that referenced this pull request Apr 7, 2023
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.

4 participants