mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 16:26:09 -06:00
Tweak error message
This commit is contained in:
parent
a9450a1929
commit
b4739cc7e7
@ -163,7 +163,9 @@ class DataSource(JobsMixin, PrimaryModel):
|
||||
try:
|
||||
backend = self.get_backend()
|
||||
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:
|
||||
|
||||
logger.debug(f'Syncing files from source root {local_path}')
|
||||
|
Loading…
Reference in New Issue
Block a user