diff --git a/remote/bitbucket/internal/client.go b/remote/bitbucket/internal/client.go index 374e280d43..71ea12a7a8 100644 --- a/remote/bitbucket/internal/client.go +++ b/remote/bitbucket/internal/client.go @@ -163,7 +163,7 @@ func (c *Client) GetPermission(fullName string) (*RepoPerm, error) { } if len(out.Values) == 0 { - return nil, fmt.Errorf("no permissions in repository ", fullName) + return nil, fmt.Errorf("no permissions in repository %s", fullName) } else { return out.Values[0], nil }