From f5421dcb36572616e8061e51b333196f363a8732 Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Wed, 29 Jan 2025 09:21:13 +0100 Subject: [PATCH] [debug] Add logging to github client setup --- snapshot_manager/snapshot_manager/github_util.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snapshot_manager/snapshot_manager/github_util.py b/snapshot_manager/snapshot_manager/github_util.py index b7a4640d..f054f6a9 100644 --- a/snapshot_manager/snapshot_manager/github_util.py +++ b/snapshot_manager/snapshot_manager/github_util.py @@ -48,6 +48,9 @@ def __init__(self, config: config.Config, github_token: str = None, **kwargs): """ self.config = config if github_token is None: + logging.info( + f"Reading Github token from this environment variable: {self.config.github_token_env}" + ) github_token = os.getenv(self.config.github_token_env) auth = github.Auth.Token(github_token) self.github = github.Github(auth=auth)