etcdmain: better logging for discovery error