Skip to content

Commit

Permalink
Log when loading device keys in stress test (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
texuf authored Aug 6, 2024
1 parent 2044eae commit 5cb7a3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/stress/src/utils/stressClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ export class StressClient {
const rawDevice = await fs.readFile(this.deviceFilePath, 'utf8').catch(() => undefined)
if (rawDevice) {
device = JSON.parse(rawDevice) as ExportedDevice
logger.info(
`Device imported from ${this.deviceFilePath}, outboundSessions: ${device.outboundSessions.length} inboundSessions: ${device.inboundSessions.length}`,
)
}
const botPrivateKey = this.baseProvider.wallet.privateKey
await this.streamsClient.initializeUser({
Expand Down

0 comments on commit 5cb7a3c

Please sign in to comment.