Skip to content

Commit

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

Expand Down

0 comments on commit 7455b93

Please sign in to comment.