You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/29 14:09:48 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #18575: Resync DAG during next parse if error in ``sync_to_db``

kaxil commented on a change in pull request #18575:
URL: https://github.com/apache/airflow/pull/18575#discussion_r718555265



##########
File path: airflow/models/dagbag.py
##########
@@ -600,7 +600,12 @@ def _serialize_dag_capturing_errors(dag, session):
             except OperationalError:
                 raise
             except Exception:
-                self.log.exception("Failed to write serialized DAG: %s", dag.full_filepath)
+                self.log.exception("Failed to write serialized DAG: %s", dag.fileloc)

Review comment:
       ```suggestion
                   self.log.exception("Failed to write serialized DAGs in: %s", dag.fileloc)
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org