Skip to content

Commit

Permalink
Merge pull request #179 from NoxOrg/bugfix/project-group-name
Browse files Browse the repository at this point in the history
- added better error message to pipeline client
  • Loading branch information
jan-schutte committed Feb 15, 2024
2 parents fced22a + ac1f2e4 commit 1cd8027
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public async Task AuthorizeAgentQueuePipelines(Guid projectId, int queueId)
var response = await _client.ExecuteAsync<AuthorizeResponse>(request);
if (!response.IsSuccessStatusCode)
{
throw new DevOpsClientException($"An error occurred while trying to authorize the pipelines on a project ({response.ErrorMessage})");
throw new DevOpsClientException($"An error occurred while trying to authorize the pipelines on a project ({response.Content})");
}
}

Expand Down

0 comments on commit 1cd8027

Please sign in to comment.