Clarify error message to mention patterns, not just excludes (#947).
This commit is contained in:
parent
0b9f3ae8a1
commit
8573660ff0
@ -206,7 +206,7 @@ def collect_special_file_paths(
|
||||
|
||||
if not skip_paths:
|
||||
raise ValueError(
|
||||
f'The runtime directory {os.path.normpath(borgmatic_runtime_directory)} overlaps with the configured excludes. Please remove it from excludes or change the runtime directory.'
|
||||
f'The runtime directory {os.path.normpath(borgmatic_runtime_directory)} overlaps with the configured excludes or patterns. Please remove it from excludes/patterns or change the runtime directory.'
|
||||
)
|
||||
|
||||
return tuple(
|
||||
|
Loading…
x
Reference in New Issue
Block a user