瀏覽代碼

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

Dan Helfman 4 月之前
父節點
當前提交
8573660ff0
共有 1 個文件被更改,包括 1 次插入1 次删除
  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(