XD-DENG commented on a change in pull request #14823:
URL: https://github.com/apache/airflow/pull/14823#discussion_r594965410



##########
File path: airflow/models/connection.py
##########
@@ -333,9 +333,8 @@ def extra_dejson(self) -> Dict:
         if self.extra:
             try:
                 obj = json.loads(self.extra)
-            except JSONDecodeError as e:
-                self.log.exception(e)
-                self.log.error("Failed parsing the json for conn_id %s", 
self.conn_id)
+            except JSONDecodeError:

Review comment:
       I see what you mean, and it's a valid point.
   
   Please address @uranusjr 's comment though. It's relating to logging level 
given eventually.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to