From da625a0276ae37c4347858d2e657885e7e70a040 Mon Sep 17 00:00:00 2001 From: "Sergey B." Date: Wed, 21 Jan 2026 16:19:47 +0300 Subject: [PATCH] feat: error for network mismatch between CLI and config --- cmd/commands/profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/commands/profile.go b/cmd/commands/profile.go index 9dca516bfc..1bc5cd48cd 100644 --- a/cmd/commands/profile.go +++ b/cmd/commands/profile.go @@ -194,7 +194,7 @@ func profileFromContext(ctx *cli.Context, store, skipMacaroons bool) ( macBytes, err := os.ReadFile(macPath) if err != nil { return nil, fmt.Errorf("unable to read macaroon path (check "+ - "the network setting!): %w", err) + "the network setting or \"--network\" flag!): %w", err) } mac := &macaroon.Macaroon{} if err = mac.UnmarshalBinary(macBytes); err != nil {