Commit 1288c8c8 authored by Roque Porchetto's avatar Roque Porchetto

Exception handling in getDataStreamList script.

parent 1504e159
......@@ -5,6 +5,9 @@ data_set = portal_catalog.getResultValue(
portal_type = "Data Set",
reference = data_set_reference)
if data_set is None:
return []
query_dict = {
"portal_type": "Data Ingestion Line",
"resource_portal_type": "Data Product",
......
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