Yep, good point :smiley: It seems like the rest of the functions in `agent` return an error rather than writing directly to log. It also makes sense that the user would want the agent to error out rather than start up and not save its pid, causing them to possibly lose automatic control and require human intervention to fix.

I'll change it to return an error like everything else in `agent.go`, unless it is preferred this fails softly?