Agreed that error handling should generally be more graceful.  For
instance, one is informed when adding a PPA that it is possible to
cancel the addition by pressing Ctrl-C, but the result is:

Press [ENTER] to continue or ctrl-c to cancel adding it
^CTraceback (most recent call last):
  File "/usr/bin/apt-add-repository", line 158, in <module>
    sys.stdin.readline()
KeyboardInterrupt


Why not catch the interrupt and simply print an "installation aborted" message?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1053531

Title:
  Better error handling of apt-add-repository

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1053531/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to