Open edkry opened 2 months ago
Hi—thanks, this would indeed be a nice convenience feature for users. A PR would be welcome.
Could you expand a bit more about where specifically you'd like more logging? There are already many log messages created. Which code should log which information?
I can make a PR for sure, would be happy to.
I am thinking what would be the best approach. Logging is not that necessary, raising an exception would be nice, so you can catch it. However, it would be better to return just None if len(response_content) == 0.
What do you think?
Opened a PR to start a discussion on possible change.
This runs but gives an error:
What happens is that ICB table is empty for 2024: https://data-api.ecb.europa.eu/service/data/ICB?startPeriod=2024
My suggestion is to add additional check before using the reader to read message: