From 43576044630ddffeb31a03ef958d275cb19718ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 7 Jun 2024 16:50:03 +0200 Subject: [PATCH] add assert message to get_repo_token --- buildbot_nix/github_projects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot_nix/github_projects.py b/buildbot_nix/github_projects.py index 2901b14..01eada6 100644 --- a/buildbot_nix/github_projects.py +++ b/buildbot_nix/github_projects.py @@ -390,7 +390,7 @@ class GithubAppAuthBackend(GithubAuthBackend): return self.jwt_token def get_repo_token(self, repo: dict[str, Any]) -> RepoToken: - assert "installation_id" in repo + assert "installation_id" in repo, f"Missing installation_id in {repo}" return self.installation_tokens[repo["installation_id"]] def create_secret_providers(self) -> list[SecretProviderBase]: