From 134afb8e05337db9058b7b1b09f26e067e5bc94e Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Tue, 21 Nov 2017 17:13:07 -0500 Subject: [PATCH] Log all json responses. --- app/www/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/www/index.html b/app/www/index.html index a46d7f3..b9f6b3d 100644 --- a/app/www/index.html +++ b/app/www/index.html @@ -443,7 +443,9 @@ web.getState = function () { fetch('/status') .then(res => { - return res.json() + let r = res.json(); + console.dir(r); + return r; }) .then(web.getStateSuccess) .catch(err => {