mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-25 00:36:11 -06:00
Tweak error message
This commit is contained in:
parent
a9450a1929
commit
b4739cc7e7
@ -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}')
|
||||||
|
Loading…
Reference in New Issue
Block a user