Comparing version 2.0.2 to 2.0.3
@@ -135,3 +135,3 @@ /* | ||
// receiver rejected the metrics, so we drop the metrics | ||
logger.warn('InfluxSender: receiver rejected metrics with status code ' + err.res.statusCode) | ||
logger.warn(`InfluxSender: receiver rejected metrics with status code ${err.res.statusCode} '${err.message || ''}'`) | ||
self.emit('send', {cound: datapointsToShip.length}) | ||
@@ -144,3 +144,3 @@ } else { | ||
self.emit('sendFailed', {msg: err.message}) | ||
logger.error('InfluxSender: error sending metrics ' + err) | ||
logger.error(`InfluxSender: error sending metrics ${err}`) | ||
} | ||
@@ -147,0 +147,0 @@ } else { |
{ | ||
"name": "spm-agent", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Node.js agent framework for SPM by Sematext", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
70272