Skip to content

Commit

Permalink
show error when dag fails to parse 3
Browse files Browse the repository at this point in the history
  • Loading branch information
looi committed Jun 16, 2021
1 parent 7455b93 commit cb8869f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dump_dags.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
def dump_dags(output_base_path):
os.makedirs(output_base_path, exist_ok=True)
bag = DagBag()
assert not dagbag.import_errors
assert not bag.import_errors
for dag_id in sorted(bag.dag_ids):
dag = bag.get_dag(dag_id)

Expand Down

0 comments on commit cb8869f

Please sign in to comment.