Tweak error message

This commit is contained in:
Jeremy Stretch 2023-08-01 10:35:18 -04:00
parent a9450a1929
commit b4739cc7e7

View File

@ -163,7 +163,9 @@ class DataSource(JobsMixin, PrimaryModel):
try: try:
backend = self.get_backend() backend = self.get_backend()
except ModuleNotFoundError as e: except ModuleNotFoundError as e:
raise SyncError(f"There was an error initializing the backend: {e}") raise SyncError(
f"There was an error initializing the backend. A dependency needs to be installed: {e}"
)
with backend.fetch() as local_path: with backend.fetch() as local_path:
logger.debug(f'Syncing files from source root {local_path}') logger.debug(f'Syncing files from source root {local_path}')