jx2lee commented on code in PR #1621:
URL: https://github.com/apache/iceberg-go/pull/1621#discussion_r3692004434


##########
cmd/iceberg/main.go:
##########
@@ -652,8 +652,10 @@ func runProperties(ctx context.Context, output Output, cat 
catalog.Catalog, cmd
                if val, ok := props[get.PropName]; ok {
                        output.Text(val)
                } else {
-                       output.Error(errors.New("could not find property " + 
get.PropName + " on namespace " + get.Identifier))
-                       os.Exit(1)
+                       output.Error(fmt.Errorf("could not find property %s on 
%s %s", get.PropName, get.Type, get.Identifier))
+                       osExit(1)
+
+                       return

Review Comment:
   Removed `return` statement. Thanks for catching that !



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to