Log all json responses.

This commit is contained in:
mmcwilliams 2017-11-21 17:13:07 -05:00
parent cf3e4ca69b
commit 134afb8e05
1 changed files with 3 additions and 1 deletions

View File

@ -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 => {