Skip to content

issue with raise_for_status() #919

Closed
@slmnsh

Description

@slmnsh

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/atlassian/rest_client.py", line 395, in raise_for_status
error_msg = "\n".join(j["errorMessages"] + [k + ": " + v for k, v in j["errors"].items()])
KeyError: 'errorMessages'

this happens when I try to add labels to any repo using bitbucket.set_repo_label() function

I think this commit is the reason of this issue because I'm regular user of this library and never faced anything like this
50b5c71

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions