We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c4dfba commit dd28ca4Copy full SHA for dd28ca4
src/base/GrafanaHandler.ts
@@ -183,6 +183,7 @@ class GrafanaHandler {
183
* @param {*} server
184
*/
185
handleStatistics(statistics, server) {
186
+ if (!statistics || typeof statistics !== "string") return
187
const json = JSON.parse(statistics.split("\n")[0]);
188
const otherStats = json[Object.keys(json)[0]].other;
189
0 commit comments