Commit 8912ead3 authored by msb@chromium.org's avatar msb@chromium.org

gclient: Keyboard interrupt should not cause request to send stack

Patch-contributed-by: 's avatarAlexey 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
parent ef77648d
......@@ -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)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment