Skip to content
Snippets Groups Projects
Commit f3bc8b5f authored by Felix Kleinert's avatar Felix Kleinert
Browse files

update error capt when station is removed

parent fa927cdb
No related branches found
No related tags found
2 merge requests!321Resolve "Apply TOAR Statistics on WRF-data handler",!259Draft: Resolve "WRF-Datahandler should inherit from SingleStationDatahandler"
Pipeline #75876 failed
......@@ -327,8 +327,8 @@ def f_proc(data_handler, station, name_affix, store, **kwargs):
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))}")
logging.debug(f"detailed information for removal of station {station}: {traceback.format_exc()}")
#f"remove station {station} because it raised an error: {e} -> {' | '.join(f_inspect_error(formatted_lines))}")
f"remove station {station} because it raised an error: {e} -> {' | '.join(formatted_lines)}")
res = None
return res, station
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment