mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-22 03:56:44 +01:00
multi: wrap all errors
This commit is contained in:
committed by
Andras Banki-Horvath
parent
9a28a4c105
commit
648fb22f63
@@ -361,7 +361,7 @@ func printMacaroon(ctx *cli.Context) error {
|
||||
case args.Present():
|
||||
macBytes, err = hex.DecodeString(args.First())
|
||||
if err != nil {
|
||||
return fmt.Errorf("unable to hex decode macaroon: %v",
|
||||
return fmt.Errorf("unable to hex decode macaroon: %w",
|
||||
err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user