nowcasting_dataset
nowcasting_dataset copied to clipboard
When a warning or exception is raised, always say which DataSource the warning is coming from
Detailed Description
For example, the logs for #437 are ambiguous about which Datasource is producing the warning.
Possible Implementation
I think we need some code somewhere which wraps all our other code in a try... except... block, and always logs the name of the DataSource... something like:
try:
do_something()
except:
log.exception(f"Exception raises from {data_source_name}")
raise