Skip to content

Commit 4357604

Browse files
committed
add assert message to get_repo_token
1 parent 8664657 commit 4357604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildbot_nix/github_projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def get_general_token(self) -> RepoToken:
390390
return self.jwt_token
391391

392392
def get_repo_token(self, repo: dict[str, Any]) -> RepoToken:
393-
assert "installation_id" in repo
393+
assert "installation_id" in repo, f"Missing installation_id in {repo}"
394394
return self.installation_tokens[repo["installation_id"]]
395395

396396
def create_secret_providers(self) -> list[SecretProviderBase]:

0 commit comments

Comments
 (0)