mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
CodeReview: change message, add changelog entry, fix line length for style check
This commit is contained in:
parent
1b5d0ca0e5
commit
9f6f1987ab
2 changed files with 3 additions and 1 deletions
|
|
@ -1195,7 +1195,7 @@ def _open_library(config):
|
|||
lib.get_item(0) # Test database connection.
|
||||
except (sqlite3.OperationalError, sqlite3.DatabaseError) as db_error:
|
||||
log.debug(u'{}', traceback.format_exc())
|
||||
raise UserError(u"database file {0} could not be opened, reason: {1}".format(
|
||||
raise UserError(u"database file {0} cannot not be opened: {1}".format(
|
||||
util.displayable_path(dbpath),
|
||||
db_error
|
||||
))
|
||||
|
|
|
|||
|
|
@ -50,6 +50,8 @@ Fixes:
|
|||
with CORS enabled.
|
||||
Thanks to :user:`rveachkc`.
|
||||
:bug:`2979`: :bug:`2980`
|
||||
* Improve error reporting: during startup if sqlite returns an error the
|
||||
sqlite error message is attached to the beets message
|
||||
|
||||
.. _python-itunes: https://github.com/ocelma/python-itunes
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue