Update exception message (#540)

This commit is contained in:
Lokesh Gopu
2020-06-11 17:25:50 -04:00
committed by GitHub
parent e728b8594d
commit 89d1418e48

View File

@@ -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