pm2-axon-rpc
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -95,9 +95,9 @@ | ||
args.push(function(err){ | ||
if (err) return reply({ error: err.message, stack: err.stack }); | ||
if (err) { | ||
if (err instanceof Error) | ||
return reply({ error: err.message, stack: err.stack }); | ||
else | ||
return reply({error : err}); | ||
} | ||
var args = [].slice.call(arguments, 1); | ||
args.forEach(function(arg, i) { | ||
args[i] = clone(arg); | ||
}); | ||
reply({ args: args }); | ||
@@ -104,0 +104,0 @@ }); |
{ | ||
"name": "pm2-axon-rpc", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "Remote procedure calls built on top of axon.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8071
181