dstandish commented on a change in pull request #22385:
URL: https://github.com/apache/airflow/pull/22385#discussion_r831730939



##########
File path: airflow/models/xcom.py
##########
@@ -165,7 +165,10 @@ def set(
         from airflow.models.dagrun import DagRun
 
         if not exactly_one(execution_date is not None, run_id is not None):
-            raise ValueError("Exactly one of run_id or execution_date must be 
passed")
+            raise ValueError(
+                f"Exactly one of run_id or execution_date must be passed. "
+                f"Passed execution_date={execution_date}, run_id={run_id}"

Review comment:
       ```suggestion
                   f"Passed execution_date={execution_date!r}, 
run_id={run_id!r}"
   ```
   for readability




-- 
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