Commit 8312b1cd by ken

试试看

parent 4d6bd4e9
......@@ -4,7 +4,7 @@
"description": "",
"main": "zb.js",
"scripts": {
"zb": "export http_proxy='http://localhost:8118';export https_proxy='http://localhost:8118';export wss_proxy='http://localhost:8118';export ws_proxy='http://localhost:8118';node $NODE_DEBUG_OPTION zb.js",
"zb": "node $NODE_DEBUG_OPTION zb.js",
"testSpeed": "node $NODE_DEBUG_OPTION testSpeed.js"
},
"author": "",
......
......@@ -99,6 +99,7 @@ function subscribe() {
redisClient.hset("balance", "zb", JSON.stringify(balances));
} catch (e) {
redisClient.hset("balance", "zb", JSON.stringify({}));
console.error(data);
}
} else {
const depth = data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment