Skip to content

Commit

Permalink
- added better error message to pipeline client
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-schutte committed Feb 15, 2024
1 parent d55b53e commit ac1f2e4
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 ac1f2e4

Please sign in to comment.