Log what we send

This commit is contained in:
Manav Rathi 2024-05-14 11:46:03 +05:30
parent 76cb218cce
commit 9934ead51d
No known key found for this signature in database

View file

@ -348,7 +348,11 @@ class MachineLearningService {
private async persistOnServer(mlFileData: MlFileData, enteFile: EnteFile) {
const serverMl = LocalFileMlDataToServerFileMl(mlFileData);
log.info(mlFileData);
log.debug(() => ({ t: "Local ML file data", mlFileData }));
log.debug(() => ({
t: "Uploaded ML file data",
d: JSON.stringify(serverMl),
}));
const comlinkCryptoWorker = await ComlinkCryptoWorker.getInstance();
const { file: encryptedEmbeddingData } =