Commit edbfd032 authored by hannahhoward's avatar hannahhoward

fix(receiver): match Bitswap ReceiveError

downgrade logging in ReceiveError to an Info level warning to match Bitswap ReceiveError behavior
parent c0a02c36
......@@ -109,7 +109,9 @@ func (gsr *graphSyncReceiver) ReceiveMessage(
// ReceiveError is part of the network's Receiver interface and handles incoming
// errors from the network.
func (gsr *graphSyncReceiver) ReceiveError(err error) {
log.Errorf("Error: %s", err.Error())
log.Infof("Graphsync ReceiveError: %s", err)
// TODO log the network error
// TODO bubble the network error up to the parent context/error logger
}
// Connected is part of the networks 's Receiver interface and handles peers connecting
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment