orchestrator-agent icon indicating copy to clipboard operation
orchestrator-agent copied to clipboard

Have human readable error for no config file found

Open jcesario opened this issue 8 years ago • 0 comments

When no config file is able to be read, agent fails with

if len(config.Config.AgentsServer) == 0 { log.Fatal("AgentsServer unconfigured. Please set to the HTTP address orchestrator serves agents (port is by default 3001)") }

If no config file can be read orch-agent should fail gracefully with a more usable error code.

jcesario avatar May 24 '16 17:05 jcesario