csantanapr opened a new issue #132: Return Nicer Errors when Non-Integer Values are Passed as Integer Arguments (CLI) URL: https://github.com/apache/incubator-openwhisk-cli/issues/132 @dubeejw commented on [Tue May 23 2017](https://github.com/apache/incubator-openwhisk/issues/2279) `$ wsk action create actionName hello.js --timeout 30303030300303030303003` `invalid argument "30303030300303030303003" for --timeout: strconv.ParseInt: parsing "30303030300303030303003": value out of range` `$ wsk action create actionName hello.js --timeout asdf` `invalid argument "asdf" for --timeout: strconv.ParseInt: parsing "asdf": invalid syntax` --- @lzbj commented on [Tue Jul 11 2017](https://github.com/apache/incubator-openwhisk/issues/2279#issuecomment-314382791) @dubeejw , I think this kind of error is throw by cobra package, right? can we control it? --- @dubeejw commented on [Wed Jul 12 2017](https://github.com/apache/incubator-openwhisk/issues/2279#issuecomment-314658021) I believe we can control the error message if we surround the `strconv.ParseInt` method calls in a try/catch, @lzbj. Will look to make sure.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
