Explorar o código

Clarify error message to mention patterns, not just excludes (#947).

Dan Helfman hai 5 meses
pai
achega
8573660ff0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      borgmatic/borg/create.py

+ 1 - 1
borgmatic/borg/create.py

@@ -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(