pankajkoti commented on code in PR #38803:
URL: https://github.com/apache/airflow/pull/38803#discussion_r1555358313


##########
airflow/providers/google/cloud/hooks/dataflow.py:
##########
@@ -252,7 +252,7 @@ def _get_current_jobs(self) -> list[dict]:
                 self._job_id = jobs[0]["id"]
             return jobs
         else:
-            raise Exception("Missing both dataflow job ID and name.")
+            raise AirflowException("Missing both dataflow job ID and name.")

Review Comment:
   Could be a case of ValueError since these values need to be provided to the 
hook?



-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to