Log all json responses.
This commit is contained in:
parent
cf3e4ca69b
commit
134afb8e05
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue