Skip to content

Commit 254d4d9

Browse files
committed
added more logs
1 parent 61eeba5 commit 254d4d9

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/core/handler/downloadHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export class DownloadHandler extends CommandHandler {
234234
const ddo = await handler.findAndFormatDdo(task.documentId)
235235

236236
if (ddo) {
237-
CORE_LOGGER.logMessage('DDO for asset found: ' + ddo, true)
237+
CORE_LOGGER.logMessage('DDO for asset found: ' + JSON.stringify(ddo), true)
238238
} else {
239239
CORE_LOGGER.logMessage(
240240
'No DDO for asset found. Cannot proceed with download.',

src/components/storage/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ export abstract class Storage {
6363
config: OceanNodeConfig
6464
): UrlStorage | IpfsStorage | ArweaveStorage {
6565
const { type } = file
66+
console.log('Storage type:', type)
67+
console.log('Storage file:', file)
6668
switch (
6769
type?.toLowerCase() // case insensitive
6870
) {

0 commit comments

Comments
 (0)