expand TinyDB path message, for ProviderConnectionError (#1518)
* expand TinyDB msg * expand TinyDB msg * fix long line * fix long line
This commit is contained in:
@@ -62,7 +62,9 @@ class TinyDBCatalogueProvider(BaseProvider):
|
||||
LOGGER.debug(f'Connecting to TinyDB db at {self.data}')
|
||||
|
||||
if not os.path.exists(self.data):
|
||||
msg = 'TinyDB does not exist'
|
||||
msg = ('TinyDB file does not exist, please check '
|
||||
'the path specified, or include the full '
|
||||
'path to the file')
|
||||
LOGGER.error(msg)
|
||||
raise ProviderConnectionError(msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user