mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 22:27:22 +01:00
multi: wrap all errors
This commit is contained in:
committed by
Andras Banki-Horvath
parent
9a28a4c105
commit
648fb22f63
@@ -418,7 +418,7 @@ func NewMessageInterceptionRequest(ctx context.Context,
|
||||
case proto.Message:
|
||||
req.ProtoSerialized, err = proto.Marshal(t)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("cannot marshal proto msg: %v",
|
||||
return nil, fmt.Errorf("cannot marshal proto msg: %w",
|
||||
err)
|
||||
}
|
||||
req.ProtoTypeName = string(proto.MessageName(t))
|
||||
|
||||
Reference in New Issue
Block a user