gclient: Keyboard interrupt should not cause request to send stack

Patch-contributed-by: Alexey Marinichev <amarinichev@chromium.org>

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@37434 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
msb@chromium.org 16 years ago
parent ef77648dd4
commit 8912ead3b4

@ -34,7 +34,7 @@ def SendStack(stack, url='http://chromium-status.appspot.com/breakpad'):
def CheckForException():
last_tb = getattr(sys, 'last_traceback', None)
if last_tb:
if last_tb and sys.last_type is not KeyboardInterrupt:
SendStack(''.join(traceback.format_tb(last_tb)))

Loading…
Cancel
Save