Add more exception information to breakpad.

When an HTTP exception information is logged, no information is sent by
default. Add an helper function to manually extract interesting information
to append it to the exception type.

Also disable another pylint warning.

TEST=manual test
BUG=none

Review URL: http://codereview.chromium.org/5303002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@67306 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
maruel@chromium.org
2010-11-24 20:50:56 +00:00
parent cbf1f6b718
commit 1bd1ed3cc6
3 changed files with 32 additions and 11 deletions

View File

@@ -701,8 +701,6 @@ class ExecutionQueue(object):
"""Runs in its own thread."""
logging.debug('running(%s)' % self.item.name)
work_queue = self.kwargs['work_queue']
# It's necessary to catch all exceptions.
# pylint: disable=W0703
try:
self.item.run(*self.args, **self.kwargs)
except Exception: