From eb6034666fc5d68b6ea5d1264a646901c75e6df9 Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Debian Linux)" <rob@synchro.net> Date: Sat, 10 Aug 2024 02:32:27 -0700 Subject: [PATCH] Change log level of "already exists" log messages from ERROR to WARNING Fix issue #773 --- exec/tickit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/tickit.js b/exec/tickit.js index c18628b96f..def656f4cd 100644 --- a/exec/tickit.js +++ b/exec/tickit.js @@ -205,10 +205,10 @@ function process_tic(tic) // TODO: optionally delete replaced files even if it's not an overwrite if (file_exists(path+tic.file) && !force_replace && !force_replace_area) { if (typeof tic.replaces == 'undefined') { - log(LOG_ERROR, format('"%s" already exists in "%s", but has no matching Replaces line', tic.file, path)); + log(LOG_WARNING, format('"%s" already exists in "%s", but has no matching Replaces line', tic.file, path)); return false; } else if (!wildmatch(tic.file, tic.replaces)) { - log(LOG_ERROR, format('"%s" already exists in "%s", but TIC Replaces line is "%s"', tic.file, path, tic.replaces)); + log(LOG_WARNING, format('"%s" already exists in "%s", but TIC Replaces line is "%s"', tic.file, path, tic.replaces)); return false; } else { if (!do_move(path, tic)) return false; -- GitLab