mirror of
https://github.com/beetbox/beets.git
synced 2025-12-19 07:04:51 +01:00
^C dumps a stack trace in verbose mode
This commit is contained in:
parent
a0ef886801
commit
9dd5e84c60
1 changed files with 3 additions and 2 deletions
|
|
@ -28,6 +28,7 @@ import sqlite3
|
|||
import errno
|
||||
import re
|
||||
import struct
|
||||
import traceback
|
||||
|
||||
from beets import library
|
||||
from beets import plugins
|
||||
|
|
@ -785,5 +786,5 @@ def main(args=None):
|
|||
else:
|
||||
raise
|
||||
except KeyboardInterrupt:
|
||||
# Silently ignore ^C.
|
||||
pass
|
||||
# Silently ignore ^C except in verbose mode.
|
||||
log.debug(traceback.format_exc())
|
||||
|
|
|
|||
Loading…
Reference in a new issue