Skip to content

Conversation

@ephraimbuddy
Copy link
Contributor

In the future, connection error would raise RuntimeError instead of AirflowException
and in that case, if we also have the RuntimeError in the Spark connection,
we won't be able to raise it as we would like to catch the RuntimeError from connection.

Also, looking at what the code does, ValueError is more appropriate

… connection

In the future, connection error would raise RuntimeError instead of AirflowException
 and in that case, if we also have the RuntimeError in the Spark connection,
we won't be able to raise it as we would like to catch the RuntimeError from connection.

Also, looking at what the code does, ValueError is more appropriate
@ephraimbuddy ephraimbuddy merged commit 2584e85 into apache:main Oct 14, 2025
78 checks passed
@ephraimbuddy ephraimbuddy deleted the remove-runtime-error branch October 14, 2025 17:16
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 15, 2025
… connection (apache#56631)

In the future, connection error would raise RuntimeError instead of AirflowException
 and in that case, if we also have the RuntimeError in the Spark connection,
we won't be able to raise it as we would like to catch the RuntimeError from connection.

Also, looking at what the code does, ValueError is more appropriate
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 17, 2025
… connection (apache#56631)

In the future, connection error would raise RuntimeError instead of AirflowException
 and in that case, if we also have the RuntimeError in the Spark connection,
we won't be able to raise it as we would like to catch the RuntimeError from connection.

Also, looking at what the code does, ValueError is more appropriate
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 19, 2025
… connection (apache#56631)

In the future, connection error would raise RuntimeError instead of AirflowException
 and in that case, if we also have the RuntimeError in the Spark connection,
we won't be able to raise it as we would like to catch the RuntimeError from connection.

Also, looking at what the code does, ValueError is more appropriate
TyrellHaywood pushed a commit to TyrellHaywood/airflow that referenced this pull request Oct 22, 2025
… connection (apache#56631)

In the future, connection error would raise RuntimeError instead of AirflowException
 and in that case, if we also have the RuntimeError in the Spark connection,
we won't be able to raise it as we would like to catch the RuntimeError from connection.

Also, looking at what the code does, ValueError is more appropriate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants