Commit aed244f3 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

print dag_run if json fails to dump

parent 815b1983
......@@ -183,7 +183,10 @@ if args.verbose:
print(f">>> `dag_run_list` : [ {n_dag_run_success} / {n_dag_run_all} ]")
if len(dag_run_list) > 0:
for dag_run in dag_run_list:
print(f"\t- {json.dumps(dag_run, separators=(',', ':'))}")
try:
print(f"\t- {json.dumps(dag_run, separators=(',', ':'))}")
except:
print(f"\t- {dag_run}")
# dump dag_group_run
joblib.dump(
......
Supports Markdown
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