Skip to content

Commit 5fd0852

Browse files
committed
fix: add debug log for permission handler fallback path
1 parent 0a070ce commit 5fd0852

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • amplifier_module_provider_github_copilot

amplifier_module_provider_github_copilot/client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,10 @@ async def create_session(
493493
logger.debug("[CLIENT] Permission handler set to approve_all")
494494
except (ImportError, AttributeError):
495495
# Older SDK versions don't require this or don't have approve_all
496-
pass
496+
logger.debug(
497+
"[CLIENT] PermissionHandler.approve_all not available; "
498+
"using SDK default permission behavior"
499+
)
497500

498501
# Session creation - separated from yield to avoid exception masking
499502
try:

0 commit comments

Comments
 (0)