Problem: Start using Amazon Q can display if there is some error restoring the connection object in the main Auth class. May be a network error or some other error. This is fine because Q uses secondary auth, so it only needs to be restored in that class. However, the notification logic access is in the Auth class which may not be restored.
Solution: Use AuthUtil to check if there is a connection instead of Auth.
License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
This pull request modifies files in src/ but no tests were added/updated. Confirm whether tests should be added or ensure the PR description explains why tests are not required.
Problem:
Start using Amazon Q
can display if there is some error restoring the connection object in the main Auth class. May be a network error or some other error. This is fine because Q uses secondary auth, so it only needs to be restored in that class. However, the notification logic access is in the Auth class which may not be restored.Solution: Use AuthUtil to check if there is a connection instead of Auth.
License: I confirm that my contribution is made under the terms of the Apache 2.0 license.