amoghrajesh commented on code in PR #57548:
URL: https://github.com/apache/airflow/pull/57548#discussion_r2480234876


##########
task-sdk/src/airflow/sdk/api/client.py:
##########
@@ -366,7 +377,12 @@ def get(self, conn_id: str) -> ConnectionResponse | 
ErrorResponse:
             resp = self.client.get(f"connections/{conn_id}")
         except ServerResponseError as e:
             if e.response.status_code == HTTPStatus.NOT_FOUND:
-                log.error(
+                connections_with_log_level_warning = 
_get_connections_with_log_level_warning()
+                log_level = (
+                    logging.WARNING if conn_id in 
connections_with_log_level_warning else logging.ERROR
+                )
+                log.log(
+                    log_level,

Review Comment:
   Let's just do debug?



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