ephraimbuddy commented on code in PR #54505:
URL: https://github.com/apache/airflow/pull/54505#discussion_r2353547555


##########
providers/amazon/src/airflow/providers/amazon/aws/hooks/athena_sql.py:
##########
@@ -119,7 +119,7 @@ def conn_config(self) -> AwsConnectionWrapper:
                     raise ValueError(
                         f"Encountered non-JSON in `extra` field for connection 
{self.aws_conn_id!r}."
                     )
-            except AirflowNotFoundException:
+            except (AirflowNotFoundException, RuntimeError):

Review Comment:
   This kind of catch is for backward compatibility in different Airflow 
versions



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