expand TinyDB path message, for ProviderConnectionError (#1518)

* expand TinyDB msg

* expand TinyDB msg

* fix long line

* fix long line
This commit is contained in:
Jeff McKenna
2024-01-29 12:27:40 -04:00
committed by GitHub
parent 8ffc354adf
commit ac95a88511
+3 -1
View File
@@ -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)