Skip to content

Commit

Permalink
General: Just print
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Puerto committed May 7, 2024
1 parent 9fe2e38 commit 6a56f29
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/ingest-pipeline/airflow/dags/bulk_update_entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,8 @@ def update_uuids(**kwargs):
print("response: ")
pprint(response.json())
time.sleep(10)
except Exception as e:
error_dict[uuid] = f"Exception: {repr(e)}, \nResponse: {response.json()}"

if error_dict:
print("The following uuids could not be updated for the following reasons: ")
print(json.dumps(error_dict))
except:
print(f"ERROR: UUID {uuid} could not be updated.")

update_uuids_t = PythonOperator(
task_id="update_uuids",
Expand Down

0 comments on commit 6a56f29

Please sign in to comment.