diff --git a/cli/client.go b/cli/client.go index f3602624c..ff82455ba 100644 --- a/cli/client.go +++ b/cli/client.go @@ -230,6 +230,10 @@ var clientRetrieveCmd = &cli.Command{ // TODO: parse offer strings from `client find`, make this smarter + if len(offers) < 1 { + fmt.Println("Failed to find file") + return nil + } order := offers[0].Order() order.Client = payer