noxy: log more useful response error

OFF0 2 years ago
parent 2683b072fe
commit 5cec5b0c9d
Signed by: offbyn
GPG Key ID: 94A2F643C51F37FA

@ -210,7 +210,8 @@ const fetchNext = (href, id, relay) => {
return fetchNext(href, id, relay); return fetchNext(href, id, relay);
} }
}) })
.catch(console.warn); .catch(err => err.text && err.text())
.then(errMsg => errMsg && console.warn(errMsg));
return previewId; return previewId;
}; };

Loading…
Cancel
Save