Skip to content

Commit

Permalink
added log print to assisst in debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptoSax committed Sep 26, 2021
1 parent 7e91fc9 commit 3c5fc6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Transmission/Connection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public class Connection
var result: Data?

self.readLock.enter()
maybeLog(message: "Transmission read's connection.receive type: \(type(of: self.connection))", logger: self.log)
self.connection.receive(minimumIncompleteLength: size, maximumLength: size)
{
(maybeData, maybeContext, isComplete, maybeError) in
Expand Down

0 comments on commit 3c5fc6c

Please sign in to comment.