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

Fix "Failed to get currency exchange rates" error in server #3218

Conversation

codejockie
Copy link
Contributor

@codejockie codejockie commented Nov 1, 2017

Resolves #3103

This PR fixes the error logged on the server when the open exchange appId is not set. It ensures that the error message doesn't show up if appId isn't set.

Test

  1. Unset the Open Exchange API App ID by removing it from the reaction.json file
  2. Do a reaction reset of the app
  3. Run app after reset
  4. Visit the home route http://localhost:3000
  5. Check that on the terminal, you no longer see the error message "Failed to get currency exchange rates."

@codejockie codejockie changed the title fix "Failed to get currency exchange rates" error in server if the Op… Fix "Failed to get currency exchange rates" error in server Nov 1, 2017
Copy link
Collaborator

@zenweasel zenweasel left a comment

Choose a reason for hiding this comment

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

Tested. Verified fixed.

@spencern spencern changed the base branch from master to release-1.5.7 November 9, 2017 00:57
@spencern
Copy link
Contributor

spencern commented Nov 9, 2017

eslint passes locally

@spencern spencern merged commit 426e5f1 into release-1.5.7 Nov 9, 2017
@spencern spencern deleted the kennedy-fix-failed-to-get-currency-exchange-rates-error-3103 branch November 9, 2017 01:24
@spencern spencern mentioned this pull request Nov 9, 2017
Akarshit pushed a commit that referenced this pull request Jan 7, 2018
…get-currency-exchange-rates-error-3103

Fix "Failed to get currency exchange rates" error in server
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.

None yet

3 participants