Track if Auto Exchange Rate update failed and display a message #66

Open
opened 2025-12-28 23:25:04 +01:00 by adam · 2 comments
Owner

Originally created by @doody on GitHub (Oct 6, 2025).

I'm trying to setup my auto exchange rate using Frankfurter and it's showing last success update date, but I'm not able to use currency converter succesfully.

I've checked my container and foud following error:

wygiwyh  | [2025-10-06 12:19:56] - INFO - procrastinate.worker.worker - Starting job manual_fetch_exchange_rates[48]()
wygiwyh  | [2025-10-06 12:19:56] - INFO - apps.currencies.exchange_rates.fetcher - Force fetching rates for Frankfurter
wygiwyh  | [2025-10-06 12:19:57] - ERROR - apps.currencies.exchange_rates.providers - Error fetching rates from Frankfurter API for base TWD: 404 Client Error: Not Found for url: https://api.frankfurter.dev/v1/latest?base=TWD&symbols=JPY%2CEUR%2CUSD%2CGBP
wygiwyh  | [2025-10-06 12:19:57] - INFO - procrastinate.worker - Job manual_fetch_exchange_rates[48]() ended with status: Success, lasted 0.906 s

And realize Frankfurter didn't support my currency, I suggest it should failed the fetch process instead of showing success.

Originally created by @doody on GitHub (Oct 6, 2025). I'm trying to setup my auto exchange rate using Frankfurter and it's showing last success update date, but I'm not able to use currency converter succesfully. I've checked my container and foud following error: ``` wygiwyh | [2025-10-06 12:19:56] - INFO - procrastinate.worker.worker - Starting job manual_fetch_exchange_rates[48]() wygiwyh | [2025-10-06 12:19:56] - INFO - apps.currencies.exchange_rates.fetcher - Force fetching rates for Frankfurter wygiwyh | [2025-10-06 12:19:57] - ERROR - apps.currencies.exchange_rates.providers - Error fetching rates from Frankfurter API for base TWD: 404 Client Error: Not Found for url: https://api.frankfurter.dev/v1/latest?base=TWD&symbols=JPY%2CEUR%2CUSD%2CGBP wygiwyh | [2025-10-06 12:19:57] - INFO - procrastinate.worker - Job manual_fetch_exchange_rates[48]() ended with status: Success, lasted 0.906 s ``` And realize Frankfurter didn't support my currency, I suggest it should failed the fetch process instead of showing success.
adam added the enhancement label 2025-12-28 23:25:04 +01:00
Author
Owner

@eitchtee commented on GitHub (Oct 6, 2025):

We currently only track when the last fetch was done, not if it was successful, but I agree we could show a message of some kind if there are errors.

Also, I believe TWD is supported by TwelveData, they have a generous free plan.

@eitchtee commented on GitHub (Oct 6, 2025): We currently only track **when** the last fetch was done, not if it was successful, but I agree we could show a message of some kind if there are errors. Also, I believe TWD is supported by TwelveData, they have a generous free plan.
Author
Owner

@doody commented on GitHub (Oct 7, 2025):

Yes, thank you, I already swich to TwelveData, a fetch status would be great 👍

@doody commented on GitHub (Oct 7, 2025): Yes, thank you, I already swich to TwelveData, a fetch status would be great 👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WYGIWYH#66