[Bug 1505670] Re: "uncaptured python exception"

cell jasonpepas at gmail.com
Sun Oct 18 04:41:43 UTC 2015


So, I went ahead and made a different version of the patch which sends
asyncore's logging output to syslog, instead of stderr.  This keep's
apt-get's output clean.

I think this is the patch I'd prefer.  However, I should probably also
bark up the tree of asyncore.py and ask why they are calling 'print' on
something labelled as an 'error' instead of just throwing an exception
(which would allow apt-avahi-discover to deal with it appropriately).

(see attached patch).


** Patch added: "Revised, syslog-based solution."
   https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1505670/+attachment/4498666/+files/apt-avahi-discover-syslog.patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid-deb-proxy in Ubuntu.
https://bugs.launchpad.net/bugs/1505670

Title:
  "uncaptured python exception"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1505670/+subscriptions



More information about the Ubuntu-server-bugs mailing list