summaryrefslogtreecommitdiffstats
path: root/node.d/named.node.js
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2017-12-19 23:39:21 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2017-12-19 23:39:21 +0000
commit61aedf201c2c4bf0e5aa4db32e74f4d860b88593 (patch)
treebcf4f9a0cd8bc2daf38b2ff9f29bfcc1e5ed8968 /node.d/named.node.js
parentNew upstream version 1.8.0+dfsg (diff)
downloadnetdata-61aedf201c2c4bf0e5aa4db32e74f4d860b88593.tar.xz
netdata-61aedf201c2c4bf0e5aa4db32e74f4d860b88593.zip
New upstream version 1.9.0+dfsgupstream/1.9.0+dfsg
Diffstat (limited to 'node.d/named.node.js')
-rw-r--r--node.d/named.node.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.d/named.node.js b/node.d/named.node.js
index 3d794655..02c890c6 100644
--- a/node.d/named.node.js
+++ b/node.d/named.node.js
@@ -201,7 +201,7 @@ var named = {
r = JSON.parse(data);
if(typeof r === 'undefined' || r === null) {
- netdata.serviceError(service, "Cannot parse these data: " + data);
+ service.error("Cannot parse these data: " + data.toString());
return;
}