Tags: econumo/currency-loader
Tags
Refactor error logging in main.go for Econumo API requests and improv… …e response handling. Updated log messages for clarity and added error handling for non-200 status codes when sending currency rates.
Check API responses & add line-feeds to logs (#2) * Check econumo API HTTP response codes Before: `Currencies sent to econumo API successfully: {"items":["USD","CAD"]}` After: `2024/12/27 16:12:47 Failed to send currencies data to econumo API. Status code: 500` * Adding line-feeds to logs Before: `Currencies sent to econumo API successfully: {"items":["USD","CAD"]}2024/12/27 16:09:49 Failed to fetch currency rates. Status code: 403` After: ```Currencies sent to econumo API successfully: {"items":["USD","CAD"]} 2024/12/27 16:09:49 Failed to fetch currency rates. Status code: 403```
Update environment variable references from ECONUMO_API_URL to ECONUM… …O_BASE_URL.
Enhance release workflow by adding ARM64 build and upload steps.
Update .env.example, .gitignore, main.go, and daily-update.yml
Update .env.example, .gitignore, main.go, and daily-update.yml