Skip to content

Commit

Permalink
chore logs
Browse files Browse the repository at this point in the history
  • Loading branch information
RetricSu committed Jan 13, 2025
1 parent ed605e9 commit 107bb1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class Subscriber {
run() {
const topics = this.createTopicSubscriber();
this.ws.on("open", () => {
logger.info("Connected to CKB node ", this.ckbRpcUrl);
logger.info(`Connected to CKB node ${this.ckbRpcUrl}`);
for (const topic of topics) {
this.ws.send(
JSON.stringify({
Expand Down Expand Up @@ -158,7 +158,7 @@ export class Subscriber {
});

this.ws.on("close", () => {
logger.info("Disconnected from CKB node");
logger.info(`Disconnected from CKB node ${this.ckbRpcUrl}`);
});
}
}

0 comments on commit 107bb1d

Please sign in to comment.