s.LogFields(),
).WithError(
err,
- ).Debug("Can't read connection: either EOFed or timeouted")
+ ).Debug("Can not read connection: either EOFed or timeouted")
break
}
prev += n
fields,
).WithFields(
s.LogFields(),
- ).WithError(err).Debug("Couldn't lookup for peer in ids")
+ ).WithError(err).Debug("Can not lookup for peer in ids")
continue
}
if peerID == nil {
- s.logger.WithFields(fields).WithFields(s.LogFields()).Debug("Couldn't find peer")
+ s.logger.WithFields(
+ fields,
+ ).WithFields(
+ s.LogFields(),
+ ).Debug("Can not find peer")
continue
}
if hs == nil {
fields,
).WithError(err).WithFields(
s.LogFields(),
- ).Error("Can't create new peer")
+ ).Error("Can not create new peer")
continue
}
prev = 0
s.LogFields(),
).WithError(
err,
- ).Debug("Can't read connection: either EOFed or timeouted")
+ ).Debug("Can not read connection: either EOFed or timeouted")
break
}
prev += n