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 get values #3

Merged
merged 1 commit into from
Oct 4, 2022
Merged

Fix get values #3

merged 1 commit into from
Oct 4, 2022

Conversation

camipozas
Copy link
Owner

Bug description

If a value was not updated in the CMF, then it threw an error and did not load values.

Main cause

If it did not find values, then it brought error 500.

Solution

The functions are called with the allSettled method and, furthermore, the UTM will look back two months in advance, so that it always has values and IPC will look back three month ago. Documentation.

…llSettled, it will also look for the UTM from 2 months ago and the IPC 3 months ago
@vercel
Copy link

vercel bot commented Oct 4, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
economic-indicators-cl ✅ Ready (Inspect) Visit Preview Oct 4, 2022 at 2:08PM (UTC)

@camipozas camipozas merged commit 7803ecf into main Oct 4, 2022
@camipozas camipozas deleted the fix/error-get-values branch October 4, 2022 14:08
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.

1 participant