From bf864276094606ff5e0b3b3b4555559a607d3a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Tue, 5 Sep 2017 16:45:15 +0100 Subject: [PATCH] fix(portal-api): don't propagate prometheus errors --- packages/portal-api/lib/data/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/portal-api/lib/data/index.js b/packages/portal-api/lib/data/index.js index fdcf1d27..0503e7b0 100644 --- a/packages/portal-api/lib/data/index.js +++ b/packages/portal-api/lib/data/index.js @@ -2530,7 +2530,7 @@ class Data extends EventEmitter { const handleMetrics = (err, metrics) => { if (err) { - return cb(err); + return cb(null, []); } cb(null, Data.formatMetrics(metrics));