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



##########
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)
+                # Update the dag_hash to force resync as something (likely 
_sync_pem_for_dag) failed

Review comment:
       ```suggestion
                   # Update the dag_hash to force resync as something (likely 
_sync_perm_for_dag) failed
   ```




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to