Thumbnail uploads: don't show the extra error info in the GUI

This commit is contained in:
infinite-persistence 2022-01-06 15:34:42 +08:00
parent 57f48f462e
commit 50550bfa99
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -476,7 +476,7 @@ export const doUploadThumbnail = (
} }
const userInput = [fileName, fileExt, fileType, thumbnail]; const userInput = [fileName, fileExt, fileType, thumbnail];
uploadError(`${message}\nUser input: ${userInput.join(' | ')}`); uploadError({ message, cause: `${userInput.join(' | ')}` });
}); });
}; };