Skip to content

Commit

Permalink
Hint about database access errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsyo committed Apr 18, 2017
1 parent 19e0958 commit 906bd97
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion beets/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 906bd97

Please sign in to comment.