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

added additional error handler during station check

parent 46a07ab5
Branches
Tags
3 merge requests!226Develop,!225Resolve "release v1.2.0",!195Resolve "Parallel station check"
Pipeline #52935 failed
...@@ -287,6 +287,7 @@ def f_proc(data_handler, station, name_affix, store, **kwargs): ...@@ -287,6 +287,7 @@ def f_proc(data_handler, station, name_affix, store, **kwargs):
try: try:
res = data_handler.build(station, name_affix=name_affix, store_processed_data=store, res = data_handler.build(station, name_affix=name_affix, store_processed_data=store,
**kwargs) **kwargs)
except (AttributeError, EmptyQueryResult): except (AttributeError, EmptyQueryResult, KeyError) as e:
logging.info(f"remove station {station} because it raised an error: {e}")
res = None res = None
return res, station return res, station
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment