Merge pull request #405 from HastingsGreer/patch-1

Capture details of exception
This commit is contained in:
LinuxMercedes 2018-12-11 14:52:17 -06:00 committed by GitHub
commit 29d62483bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
e.py
View File

@ -3,5 +3,6 @@ import sys
try:
while 'e':
sys.stdout.write('e')
except KeyboardInterrupt:
except KeyboardInterrupt as e:
sys.exit('e')