Changed console logging of errors to use console error logging

This commit is contained in:
Jesper Kristensen committed 2025-05-15 21:35:07 +02:00
1 parent ca2cfb5bad
commit 20c1c3f66b
23 files changed
+269 -269

No files matched your search

+7 -7
View File
@@ -50,7 +50,7 @@ export const getFolders = async (token: string = '') => {
})
.catch((err) => {
error = err.detail;
console.log(err);
console.error(err);
return null;
});
@@ -81,7 +81,7 @@ export const getFolderById = async (token: string, id: string) => {
})
.catch((err) => {
error = err.detail;
console.log(err);
console.error(err);
return null;
});
@@ -115,7 +115,7 @@ export const updateFolderNameById = async (token: string, id: string, name: stri
})
.catch((err) => {
error = err.detail;
console.log(err);
console.error(err);
return null;
});
@@ -153,7 +153,7 @@ export const updateFolderIsExpandedById = async (
})
.catch((err) => {
error = err.detail;
console.log(err);
console.error(err);
return null;
});
@@ -187,7 +187,7 @@ export const updateFolderParentIdById = async (token: string, id: string, parent
})
.catch((err) => {
error = err.detail;
console.log(err);
console.error(err);
return null;
});
@@ -226,7 +226,7 @@ export const updateFolderItemsById = async (token: string, id: string, items: Fo
})
.catch((err) => {
error = err.detail;
console.log(err);
console.error(err);
return null;
});
@@ -257,7 +257,7 @@ export const deleteFolderById = async (token: string, id: string) => {
})
.catch((err) => {
error = err.detail;
console.log(err);
console.error(err);
return null;
});