multi: wrap all errors
This commit is contained in:
1 parent
9a28a4c105
commit
648fb22f63
60 files changed
+138
-133
No files matched your search
@@ -91,7 +91,7 @@ func AdminAuthOptions(cfg *Config, skipMacaroons bool) ([]grpc.DialOption,
|
||||
|
||||
mac := &macaroon.Macaroon{}
|
||||
if err = mac.UnmarshalBinary(macBytes); err != nil {
|
||||
return nil, fmt.Errorf("unable to decode macaroon: %v",
|
||||
return nil, fmt.Errorf("unable to decode macaroon: %w",
|
||||
err)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user