Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Commit

Permalink
[AIRFLOW-6801] Make use of ImportError.timestamp (apache#7425)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclennon authored and galuszkak committed Mar 5, 2020
1 parent a4df43e commit 2dd649f
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 2dd649f

Please sign in to comment.