From 8573660ff05e66fe6995957797df82cbebcf91ca Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 10 Jan 2025 08:41:56 -0800 Subject: [PATCH] Clarify error message to mention patterns, not just excludes (#947). --- borgmatic/borg/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borgmatic/borg/create.py b/borgmatic/borg/create.py index 819a46b7..b71fffce 100644 --- a/borgmatic/borg/create.py +++ b/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(