kopia lustrzana https://github.com/c9/core
Merge pull request +6561 from c9/fix-lua-test
make test redis more robustpull/39/head^2
commit
c1252d66c0
|
@ -29,7 +29,7 @@
|
|||
"msgpack-js": "~0.1.1",
|
||||
"msgpack-js-browser": "~0.1.4",
|
||||
"nak": "",
|
||||
"netutil": "~0.0.1",
|
||||
"netutil": "~0.0.2",
|
||||
"optimist": "~0.6.0",
|
||||
"qs": "0.6.6",
|
||||
"rusha": "~0.7.2",
|
||||
|
|
|
@ -33,11 +33,10 @@ function plugin(options, imports, register) {
|
|||
client = clients[client];
|
||||
client._send = client.send;
|
||||
client.send = function(exception, customData, callback, request) {
|
||||
var ex = exception;
|
||||
if (!exception.stack)
|
||||
ex = new Error(exception.message || exception);
|
||||
exception = new Error(exception.message || exception);
|
||||
|
||||
return this._send(ex, customData, callback, request);
|
||||
return this._send.apply(this, arguments);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue