diff Framework/PullMode/PullJob.cpp @ 5:5e6de82bb10f

use of user properties instead of BidirectionalPeers option
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Sep 2018 15:39:02 +0200
parents 95226b754d9e
children 4c3437217518
line wrap: on
line diff
--- a/Framework/PullMode/PullJob.cpp	Mon Sep 17 14:42:57 2018 +0200
+++ b/Framework/PullMode/PullJob.cpp	Tue Sep 18 15:39:02 2018 +0200
@@ -193,9 +193,8 @@
       if (job_.query_.HasOriginator() &&
           job_.query_.GetOriginator() != answer[KEY_ORIGINATOR_UUID].asString())
       {
-        LOG(ERROR) << "Invalid originator, check out the \""
-                   << KEY_PLUGIN_CONFIGURATION << "." << KEY_BIDIRECTIONAL_PEERS
-                   << "\" configuration option";
+        LOG(ERROR) << "Invalid originator, check out the \"" << KEY_REMOTE_SELF
+                   << "\" configuration option of peer: " << job_.query_.GetPeer();
         return StateUpdate::Failure();
       }