-
Notifications
You must be signed in to change notification settings - Fork 343
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
Added exception handling for OSError that may be thrown by os.read #5970
Conversation
4fff7a5
to
9806712
Compare
hi @richtja, Can you help me see if I can merge the code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @faker-king, thanks for your contribution. Even though your change is correct, I am not sure about it. IMO, it decreases readability of the code without any additional benefits, but maybe I am missing something here. Can you please help me to understand how your change is avoiding triggering errors? Thank you.
Signed-off-by: mataotao <mataotao@uniontech.com>
Hi @richtja, Thank you for your feedback. I have carefully considered it and there is indeed no problem with what you said. It has reduced the readability of the code. I have now made a new modification and would appreciate it if you could double check it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @faker-king this change LGTM. We are right now in feature freeze state and we are doing pre-release testing, therefore this PR will be merged after the release planed on Friday June 28.
Hi @richtja, I have found that the error in the codeclimate was not caused by my modifications. Could you please help me identify the reason for this |
Hi @faker-king, don't worry about the codeclimate error. We are facing some issues with codeclimate these days. |
Added exception handling for OSError that may be thrown by os.read