Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AWS] Fix: Handle NoneType response in is_access_denied_exception #1046

Merged

Commits on Sep 23, 2024

  1. fix: handle NoneType response in is_access_denied_exception

    In some scenarios, the AWS integration receives an error that is checked with the `is_access_denied_exception` function. However, if `e.response` is `None`, it leads to an `AttributeError`. This fix adds a check to ensure `e.response` is not `None` before attempting to access its keys, preventing the `AttributeError`.
    phalbert committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    5cddd06 View commit details
    Browse the repository at this point in the history
  2. build: add tests for fix

    phalbert committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    8941450 View commit details
    Browse the repository at this point in the history
  3. Update test_utils.py

    phalbert committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    89293fa View commit details
    Browse the repository at this point in the history
  4. changelog

    phalbert committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    eeb445b View commit details
    Browse the repository at this point in the history