fix: raising exception instead of empty string

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Luca Simone
2023-11-16 11:19:46 +01:00
committed by GitHub
parent d78a71184d
commit 26dc2e9d21

View File

@ -329,8 +329,8 @@ class BitbucketServerProvider(GitProvider):
return ""
def get_commit_messages(self):
return "" # not implemented yet
def get_commit_messages(self):
raise NotImplementedError("Get commit messages function not implemented yet.")
# bitbucket does not support labels
def publish_description(self, pr_title: str, description: str):
payload = json.dumps({