Skip to content
Snippets Groups Projects
Commit e96d635b authored by leufen1's avatar leufen1
Browse files

add index error to f_proc

parent 1f1e658d
No related branches found
No related tags found
5 merge requests!319add all changes of dev into release v1.4.0 branch,!318Resolve "release v1.4.0",!317enabled window_lead_time=1,!295Resolve "data handler FIR filter",!259Draft: Resolve "WRF-Datahandler should inherit from SingleStationDatahandler"
Pipeline #68071 passed
......@@ -351,7 +351,7 @@ def f_proc(data_handler, station, name_affix, store, **kwargs):
"""
try:
res = data_handler.build(station, name_affix=name_affix, store_processed_data=store, **kwargs)
except (AttributeError, EmptyQueryResult, KeyError, requests.ConnectionError, ValueError) as e:
except (AttributeError, EmptyQueryResult, KeyError, requests.ConnectionError, ValueError, IndexError) as e:
formatted_lines = traceback.format_exc().splitlines()
logging.info(
f"remove station {station} because it raised an error: {e} -> {' | '.join(f_inspect_error(formatted_lines))}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment