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

Add KeyboardInterrupt error handling #117

Closed
wants to merge 1 commit into from

Conversation

sh0213
Copy link

@sh0213 sh0213 commented Mar 17, 2019

Fixes Bug #2878.
Add a KeyboardInterrupt Interrupt Handler inside the try catch
statement of the main program. Thus if a user will use Ctrl+C
to kill the updater it will get the following message:
"Program interrupted by keyboard, aborting.".

Link to redmine ticket: #2878

Describe changes:

  • When a user sends a kill signal (interrupts the program) using Ctrl+C the trace isn't shown anymore but instead the informative message "Program interrupted by keyboard, aborting".
  • Changes involved on the main.py by adding an Exception Handler inside the try-catch main loop.

Fixes Bug #2878.
Add a KeyboardInterrupt Interrupt Handler inside the try catch
statement of the main program. Thus if a user will use Ctrl+C
to kill the updater it will get the following message:
"Program interrupted by keyboard, aborting.".
@shivan1b
Copy link

@sh0213 I'm sorry but we'll have to close this PR since this task was already claimed and there is a PR for that. Do you mind looking at the issues here and claim one of these tasks which have the "New" status?
Please remember to follow the contribution guidelines as mentioned in the Outreachy project pages.
Thank you. :)

@shivan1b shivan1b closed this Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants