Skip to content

Commit

Permalink
[AIRFLOW-6801] Make use of ImportError.timestamp (#7425)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclennon committed Feb 16, 2020
1 parent ff7034f commit cc1bd64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/jobs/scheduler_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ def update_import_errors(session, dagbag):
for filename, stacktrace in dagbag.import_errors.items():
session.add(errors.ImportError(
filename=filename,
timestamp=timezone.utcnow(),
stacktrace=stacktrace))
session.commit()

Expand Down

0 comments on commit cc1bd64

Please sign in to comment.