Commit 54546638 authored by Klaus Wölfel's avatar Klaus Wölfel

ingestion: log if parsing does not return movment_dict

parent 7eab3578
......@@ -76,6 +76,11 @@ class IngestionPolicy(Folder):
# search for an existing movement and if we do not find one, we create
# a new one.
movement_dict = tag_parsing_script(reference)
if not movement_dict:
# unsuccessfull parsing log and do not process
self.log("Bad tag: %s" %reference)
return
# to simplyfy the catalog query, at the moment we assume that aggregate
# and resource are defined on Data Ingestion Line and the rest is
# defined on Data Ingestion. This assumption should be dropped later and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment