Skip to content

Commit 7cfde6d

Browse files
authored
Add debug log message about auth mode
1 parent cc1948e commit 7cfde6d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/fastapi_cloud_cli/commands/deploy.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,10 @@ def deploy(
691691
identity = Identity()
692692
use_deploy_token = identity.has_deploy_token()
693693
has_auth = use_deploy_token or identity.is_logged_in()
694+
695+
logger.debug(
696+
"Authentication mode: %s", "deploy token" if use_deploy_token else "user token"
697+
)
694698

695699
with get_rich_toolkit() as toolkit:
696700
if not has_auth:

0 commit comments

Comments
 (0)