From 1da919d486e90e59aba0750a8cf5c5957979042f Mon Sep 17 00:00:00 2001 From: colprog Date: Tue, 13 May 2014 15:11:24 +0800 Subject: [PATCH] Update client.js needed a container for filter params. without this, rpcLog would not work --- lib/rpc-client/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rpc-client/client.js b/lib/rpc-client/client.js index 25f7570..f5686ee 100644 --- a/lib/rpc-client/client.js +++ b/lib/rpc-client/client.js @@ -174,7 +174,7 @@ pro.rpcInvoke = function(serverId, msg, cb) { cb(new Error('[pomelo-rpc] fail to do rpc invoke for client is not running')); return; } - this._station.dispatch(tracer, serverId, msg, null, cb); + this._station.dispatch(tracer, serverId, msg, {}, cb); }; pro.before = function(filter) {