summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/couchdb
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-04-26 16:22:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-04-26 16:22:55 +0000
commitcaf1a5281f9e974ba73ceded3a782db3d0142c5f (patch)
treea09197b1fd2e984a0e8598e7007deb2a8e1969d7 /collectors/python.d.plugin/couchdb
parentReleasing debian version 1.14.0~rc0-1. (diff)
downloadnetdata-caf1a5281f9e974ba73ceded3a782db3d0142c5f.tar.xz
netdata-caf1a5281f9e974ba73ceded3a782db3d0142c5f.zip
Merging upstream version 1.14.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--collectors/python.d.plugin/couchdb/couchdb.chart.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/python.d.plugin/couchdb/couchdb.chart.py b/collectors/python.d.plugin/couchdb/couchdb.chart.py
index b40c41229..50fe6669f 100644
--- a/collectors/python.d.plugin/couchdb/couchdb.chart.py
+++ b/collectors/python.d.plugin/couchdb/couchdb.chart.py
@@ -351,7 +351,7 @@ class Service(UrlService):
try:
for m in metrics_list:
value = value[m]
- except KeyError as e:
+ except (KeyError, TypeError) as e:
self.debug('cannot process ' + metric + ' for ' + db
+ ": " + str(e))
continue
@@ -367,7 +367,7 @@ class Service(UrlService):
try:
for m in metrics_list:
value = value[m]
- except KeyError as e:
+ except (KeyError, TypeError) as e:
self.debug('cannot process ' + metric + ': ' + str(e))
continue
# strip off .value from end of stat