From ceb092f7f3c7542c9813d476624b8b21fb1045e4 Mon Sep 17 00:00:00 2001 From: Lokesh Gopu Date: Thu, 11 Jun 2020 17:16:05 -0400 Subject: [PATCH] Update exception message --- src/Runner.Listener/Configuration/ConfigurationManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Runner.Listener/Configuration/ConfigurationManager.cs b/src/Runner.Listener/Configuration/ConfigurationManager.cs index 7d634067f..ce0863e1a 100644 --- a/src/Runner.Listener/Configuration/ConfigurationManager.cs +++ b/src/Runner.Listener/Configuration/ConfigurationManager.cs @@ -210,7 +210,7 @@ namespace GitHub.Runner.Listener.Configuration else if (command.Unattended) { // if not replace and it is unattended config. - throw new TaskAgentExistsException($"Pool {runnerSettings.PoolId} already contains a runner with name {runnerSettings.AgentName}."); + throw new TaskAgentExistsException($"A runner exists with the same name {runnerSettings.AgentName}."); } } else