diff options
Diffstat (limited to 'node.d/node_modules/netdata.js')
-rw-r--r-- | node.d/node_modules/netdata.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/node.d/node_modules/netdata.js b/node.d/node_modules/netdata.js index 143255d9..4ab8308c 100644 --- a/node.d/node_modules/netdata.js +++ b/node.d/node_modules/netdata.js @@ -68,7 +68,6 @@ var netdata = { modules_configuring: 0, charts: {}, - processors: { http: { name: 'http', @@ -245,7 +244,13 @@ var netdata = { if(__DEBUG === true) netdata.debug(service.module.name + ': ' + service.name + ': processing ' + service.processor.name + ' response (received in ' + (service.ended - service.started).toString() + ' ms)'); - responseProcessor(service, response); + try { + responseProcessor(service, response); + } + catch(e) { + netdata.error(e); + service.error("responseProcessor failed process response data."); + } service.running = false; service.module.active--; |