noxy: log more useful response error

pull/45/head
OFF0 2 years ago
parent 44c1af2381
commit 23619bbaaa
Signed by: offbyn
GPG Key ID: 94A2F643C51F37FA

@ -210,7 +210,8 @@ const 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;
};

Loading…
Cancel
Save