john-jac commented on a change in pull request #19324:
URL: https://github.com/apache/airflow/pull/19324#discussion_r749580901



##########
File path: airflow/providers/amazon/aws/secrets/secrets_manager.py
##########
@@ -253,3 +253,16 @@ def _get_secret(self, path_prefix, secret_id: str) -> 
Optional[str]:
                 secret_id,
             )
             return None
+        except self.client.exceptions.AccessDeniedException as e:
+            self.log.debug(
+                "An error occurred (AccessDeniedException) when calling the "
+                "get_secret_value operation: %s",
+                str(e),
+            )
+            return None
+        except Exception as e:

Review comment:
       Removed.  Thanks!




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