Skip to content

Commit 6263d1a

Browse files
l4mbymagne
andauthored
fix: reading bytes in log (coders51#282)
* fix: reading bytes in log * fix: remove reading bytes as number in log --------- Co-authored-by: magne <[email protected]>
1 parent 92d1689 commit 6263d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ export class Connection {
404404
}
405405

406406
private received(data: Buffer) {
407-
this.logger.debug(`Receiving ${data.length} (${data.readUInt32BE()}) bytes ... ${inspect(data)}`)
407+
this.logger.debug(`Receiving ${data.length} bytes ... ${inspect(data)}`)
408408
this.decoder.add(data, (ct) => this.getCompression(ct))
409409
}
410410

0 commit comments

Comments
 (0)