Add logging
This commit is contained in:
parent
71e0849bb8
commit
cd9d799d02
|
@ -130,6 +130,9 @@ async function reuploadFile(cid: string, recordsDB: Collection<IRecord>): Promis
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const fileStats = fs.statSync(filePath)
|
||||||
|
console.log('file stats', fileStats)
|
||||||
|
|
||||||
// upload the file
|
// upload the file
|
||||||
let skylink;
|
let skylink;
|
||||||
try {
|
try {
|
||||||
|
|
Reference in New Issue