 Chromium Code Reviews
 Chromium Code Reviews Issue 553139:
  gclient: Keyboard interrupt should not cause request to send stack  (Closed)
    
  
    Issue 553139:
  gclient: Keyboard interrupt should not cause request to send stack  (Closed) 
  | Index: breakpad.py | 
| diff --git a/breakpad.py b/breakpad.py | 
| index 003f9ad887da9bb6b24416f184ed5eb1a204890f..ff81d05489b1e0b81e3d3857bd74cd33fd6a222c 100644 | 
| --- a/breakpad.py | 
| +++ b/breakpad.py | 
| @@ -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))) |