client Result include peerName

This commit is contained in:
Michael Davidsaver
2020-03-01 20:41:37 -08:00
parent e668038250
commit 9e401a35fe
4 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ void Connection::handle_GET_FIELD()
auto done = std::move(info->done);
Result res;
if(sts.isSuccess()) {
res = Result(std::move(prototype));
res = Result(std::move(prototype), peerName);
} else {
res = Result(std::make_exception_ptr(RemoteError(sts.msg)));
}