From 4e2776224f1a35e1948dc8c1e388f94323e447da Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Sat, 9 Mar 2024 17:38:20 +0000 Subject: [PATCH] Tweak text of error and debug messages --- lib/Stow.pm.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Stow.pm.in b/lib/Stow.pm.in index 77d4ccf..7b2551c 100755 --- a/lib/Stow.pm.in +++ b/lib/Stow.pm.in @@ -400,7 +400,7 @@ sub stow_contents { debug(3, 0, $msg); debug(4, 1, "=> $source"); - error("stow_contents() called with non-directory path: $path") + error("stow_contents() called with non-directory package path: $path") unless -d $path; error("stow_contents() called with non-directory target: $target") unless $self->is_a_node($target); @@ -454,7 +454,7 @@ sub stow_node { my $path = join_paths($stow_path, $package, $target); - debug(3, 0, "Stowing $stow_path / $package / $target"); + debug(3, 0, "Stowing entry $stow_path / $package / $target"); debug(4, 1, "=> $source"); # Don't try to stow absolute symlinks (they can't be unstowed)