diff --git a/src/Nox.Cli.Plugins/Nox.Cli.Plugin.AzDevOps/Clients/PipelineClient.cs b/src/Nox.Cli.Plugins/Nox.Cli.Plugin.AzDevOps/Clients/PipelineClient.cs index c123823..06bc555 100644 --- a/src/Nox.Cli.Plugins/Nox.Cli.Plugin.AzDevOps/Clients/PipelineClient.cs +++ b/src/Nox.Cli.Plugins/Nox.Cli.Plugin.AzDevOps/Clients/PipelineClient.cs @@ -42,7 +42,7 @@ public async Task AuthorizeAgentQueuePipelines(Guid projectId, int queueId) var response = await _client.ExecuteAsync(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})"); } }