fixed harsh error exception

This commit is contained in:
Hamza Zia 2012-09-15 01:13:03 +08:00
parent 08a4b399f3
commit 932a72d53f

View File

@ -140,8 +140,6 @@ var AriaConnection = function(conf) {
params: [],
func: ''
});
var err = opts.error;
opts.error = function() { throw "cant run error!!!" };
if (!sockRPC || !sockRPC.initialized || true)
return jRPC.invoke(opts);
else