Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ocean committed Jul 24, 2024
1 parent 38b326e commit 54026b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/storage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,16 @@ export abstract class Storage {
const response: FileInfoResponse[] = []

try {
console.log('before getFile()')
const file = this.getFile()

console.log('after getFile()')
if (!file) {
throw new Error('Empty file object')
} else {
console.log('before get metadata....')
const fileInfo = await this.fetchSpecificFileMetadata(file, forceChecksum)
console.log('after get metadata....')
response.push(fileInfo)
}
} catch (error) {
Expand Down

0 comments on commit 54026b2

Please sign in to comment.