🔊 Add detailed logging https://github.com/siyuan-note/siyuan/issues/12606
This commit is contained in:
parent
7c7d8af650
commit
c3ae2a30f0
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export const fetchPost = (url: string, data?: any, cb?: (response: IWebSocketDat
|
|||
cb(response);
|
||||
}
|
||||
}).catch((e) => {
|
||||
console.warn("fetch post error", e);
|
||||
console.warn("fetch post failed [" + e + "], url [" + url + "]");
|
||||
if (url === "/api/transactions" && (e.message === "Failed to fetch" || e.message === "Unexpected end of JSON input")) {
|
||||
kernelError();
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue