Skip to content

Commit 5901f4c

Browse files
committed
add some logs
1 parent e4403d5 commit 5901f4c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/OceanNode.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,12 @@ export class OceanNode {
7777
this.blockchainRegistry
7878
)
7979
if (this.config.persistentStorage?.enabled) {
80+
OCEAN_NODE_LOGGER.info(
81+
`Starting PersistenStorage with type ${this.config.persistentStorage.type}`
82+
)
8083
this.persistentStorage = createPersistentStorage(this)
8184
} else {
85+
OCEAN_NODE_LOGGER.info(`Starting without PersistenStorage`)
8286
this.persistentStorage = null
8387
}
8488
}

src/test/integration/persistentStorage.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ describe('Persistent storage handlers (integration)', function () {
161161
fileName,
162162
stream: Readable.from(body)
163163
} as any)
164-
164+
console.log(uploadRes)
165165
expect(uploadRes.status.httpStatus).to.equal(200)
166166
const uploaded = await streamToObject(uploadRes.stream as Readable)
167167
expect(uploaded.name).to.equal(fileName)

0 commit comments

Comments
 (0)