Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose an error code according to a wrong depth type #264

Open
elfring opened this issue Sep 26, 2021 · 1 comment
Open

Choose an error code according to a wrong depth type #264

elfring opened this issue Sep 26, 2021 · 1 comment
Assignees

Comments

@elfring
Copy link

elfring commented Sep 26, 2021

A Python script contains the following statements at the moment.

            if not args.depth.isdigit():
                SysMgr.printErr('wrong depth type')
                sys.exit(0)

I suggest to pass an error code to the exit method call according to the previous error message.

@iipeace
Copy link
Owner

iipeace commented Sep 27, 2021

wow!
It's a big job! ;(
But I agree with you.
I'll try to change them!

@iipeace iipeace self-assigned this Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants