diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-04-26 16:22:17 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-04-26 16:22:17 +0000 |
commit | 58b482856cf37b0519e516ab8dc1105ba958f8b2 (patch) | |
tree | 0c46396e98741dfae4ce907bc8ef8c54418b3753 /collectors/python.d.plugin/couchdb | |
parent | Adding upstream version 1.14.0~rc0. (diff) | |
download | netdata-upstream/1.14.0.tar.xz netdata-upstream/1.14.0.zip |
Adding upstream version 1.14.0.upstream/1.14.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collectors/python.d.plugin/couchdb')
-rw-r--r-- | collectors/python.d.plugin/couchdb/couchdb.chart.py | 4 |
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 |