Don't log a potentially huge list

This commit is contained in:
Manav Rathi
2024-05-01 12:29:11 +05:30
parent ff5a167f48
commit 6086d43635

View File

@@ -261,7 +261,9 @@ export default function Uploader({
const { collectionName, filePaths, zipItems } = pending;
log.info("Resuming pending upload", pending);
log.info(
`Resuming pending of upload of ${filePaths.length + zipItems.length} items${collectionName ? " to collection " + collectionName : ""}`,
);
isPendingDesktopUpload.current = true;
pendingDesktopUploadCollectionName.current = collectionName;
setDesktopFilePaths(filePaths);