mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
Downgrade messages to Debug (#3139)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
This commit is contained in:
parent
feb79883ac
commit
3ac87a07d5
@ -120,11 +120,8 @@ func RecvUploadMessage(ctx context.Context,
|
||||
return
|
||||
}
|
||||
if err = handleInboundMessage(ctx, req, sentry); err != nil {
|
||||
if rlp.IsDecodeError(err) {
|
||||
log.Debug("[RecvUploadMessage]: Handling incoming message", "error", err)
|
||||
} else {
|
||||
log.Warn("[RecvUploadMessage]: Handling incoming message", "error", err)
|
||||
}
|
||||
log.Debug("[RecvUploadMessage]: Handling incoming message", "error", err)
|
||||
|
||||
}
|
||||
if wg != nil {
|
||||
wg.Done()
|
||||
@ -211,11 +208,7 @@ func RecvUploadHeadersMessage(ctx context.Context,
|
||||
return
|
||||
}
|
||||
if err = handleInboundMessage(ctx, req, sentry); err != nil {
|
||||
if rlp.IsDecodeError(err) {
|
||||
log.Debug("[RecvUploadHeadersMessage] Handling incoming message", "error", err)
|
||||
} else {
|
||||
log.Warn("[RecvUploadHeadersMessage] Handling incoming message", "error", err)
|
||||
}
|
||||
log.Debug("[RecvUploadHeadersMessage] Handling incoming message", "error", err)
|
||||
}
|
||||
if wg != nil {
|
||||
wg.Done()
|
||||
|
Loading…
Reference in New Issue
Block a user