Commits

Adrian Sampson committed 0e13249

^C dumps a stack trace in verbose mode

  • Participants
  • Parent commits b627c81

Comments (0)

Files changed (1)

File beets/ui/__init__.py

 import errno
 import re
 import struct
+import traceback
 
 from beets import library
 from beets import plugins
         else:
             raise
     except KeyboardInterrupt:
-        # Silently ignore ^C.
-        pass
+        # Silently ignore ^C except in verbose mode.
+        log.debug(traceback.format_exc())