mirror of
https://github.com/beetbox/beets.git
synced 2026-02-28 10:15:23 +01:00
Hint about database access errors
This commit is contained in:
parent
19e09585d8
commit
906bd97d46
1 changed files with 5 additions and 1 deletions
|
|
@ -1249,5 +1249,9 @@ def main(args=None):
|
|||
# Silently ignore ^C except in verbose mode.
|
||||
log.debug(u'{}', traceback.format_exc())
|
||||
except db.DBAccessError as exc:
|
||||
log.error(u'{0}', exc)
|
||||
log.error(
|
||||
u'database access error: {0}\n'
|
||||
u'the library file might have a permissions problem',
|
||||
exc
|
||||
)
|
||||
sys.exit(1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue