I think you should return here. If the err is nil, peers should be empty, right?