mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-05 13:20:39 +08:00
chore: organize comments
This commit is contained in:
@ -5,13 +5,10 @@ from starlette_context.middleware import RawContextMiddleware
|
||||
|
||||
from pr_agent.servers.github_app import router
|
||||
|
||||
# Execute AWS Secrets Manager configuration override at module load time
|
||||
# Initialize with same pattern as Google Cloud Storage provider
|
||||
try:
|
||||
from pr_agent.config_loader import apply_secrets_manager_config
|
||||
apply_secrets_manager_config()
|
||||
except Exception as e:
|
||||
# Handle initialization failure silently (fallback to environment variables)
|
||||
try:
|
||||
from pr_agent.log import get_logger
|
||||
get_logger().debug(f"AWS Secrets Manager initialization failed, falling back to environment variables: {e}")
|
||||
|
Reference in New Issue
Block a user