Add logging

This commit is contained in:
PJ 2022-02-16 12:50:55 +01:00
parent 71e0849bb8
commit cd9d799d02
No known key found for this signature in database
GPG Key ID: F345964979FA8971
1 changed files with 3 additions and 0 deletions

View File

@ -130,6 +130,9 @@ async function reuploadFile(cid: string, recordsDB: Collection<IRecord>): Promis
throw error;
}
const fileStats = fs.statSync(filePath)
console.log('file stats', fileStats)
// upload the file
let skylink;
try {