multi: wrap all errors
This commit is contained in:
1 parent
9a28a4c105
commit
648fb22f63
60 files changed
+138
-133
No files matched your search
+1
-1
@@ -3352,7 +3352,7 @@ func (p *Brontide) handleInitMsg(msg *lnwire.Init) error {
|
||||
// those presented in the local features fields.
|
||||
err := msg.Features.Merge(msg.GlobalFeatures)
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to merge legacy global features: %v",
|
||||
return fmt.Errorf("unable to merge legacy global features: %w",
|
||||
err)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user