You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "nrobinson-intelycare (via GitHub)" <gi...@apache.org> on 2025/04/08 14:43:50 UTC

[PR] Handle NoCredentialsError in waiter_with_logging.py [airflow]

nrobinson-intelycare opened a new pull request, #48946:
URL: https://github.com/apache/airflow/pull/48946

   Fixes https://github.com/apache/airflow/issues/45622


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Handle NoCredentialsError in waiter_with_logging.py [airflow]

Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck merged PR #48946:
URL: https://github.com/apache/airflow/pull/48946


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Handle NoCredentialsError in waiter_with_logging.py [airflow]

Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck commented on code in PR #48946:
URL: https://github.com/apache/airflow/pull/48946#discussion_r2033492200


##########
providers/amazon/src/airflow/providers/amazon/aws/utils/waiter_with_logging.py:
##########
@@ -70,6 +70,11 @@ def wait(
             time.sleep(waiter_delay)
         try:
             waiter.wait(**args, WaiterConfig={"MaxAttempts": 1})
+
+        except NoCredentialsError as error:
+            error_reason = str(error)
+            log.info(error_reason)

Review Comment:
   nit
   ```suggestion
               log.info(str(error))
   ```



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org