Comparing version 1.0.19 to 1.0.20
@@ -275,3 +275,3 @@ /* | ||
request.post(options[xi], function (err, res, body) { | ||
if ((!err) && res != null && res.statusCode < 300) { | ||
if ((!err) && (res && res.statusCode < 300)) { | ||
// remove from NeDB | ||
@@ -298,4 +298,4 @@ var removedCounter = 0 | ||
url: options.url, | ||
//body: options.body, | ||
status: res.statusCode, res: res.body | ||
status: res.statusCode, | ||
res: res.body | ||
}, null, 4)) | ||
@@ -302,0 +302,0 @@ } |
{ | ||
"name": "spm-agent", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"description": "Node.js agent framework for SPM by Sematext", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
156750