summaryrefslogtreecommitdiffstats
path: root/node.d/named.node.js
diff options
context:
space:
mode:
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 3d7946557..02c890c60 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;
}