From b3f3d658b2dcf516ce1b5306f2b85b07c3be1b29 Mon Sep 17 00:00:00 2001 From: PTR <47147771+PTR-inc@users.noreply.github.com> Date: Mon, 9 Jun 2025 22:05:42 +0200 Subject: [PATCH] Changed sqldump errortext (#7098) Previous text was incorrect regarding path --- db.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db.js b/db.js index 700e82bf..2d7e7eaa 100644 --- a/db.js +++ b/db.js @@ -3392,7 +3392,7 @@ module.exports.CreateDB = function (parent, func) { const child_process = require('child_process'); child_process.exec(cmd, { cwd: backupPath, timeout: 1000*30 }, function(error, stdout, stdin) { if ((error != null) && (error != '')) { - func(1, "Unable to find mysqldump tool, backup will not be performed. Command tried: " + cmd); + func(1, "mysqldump error, backup will not be performed. Command tried: " + cmd); return; } else {parent.config.settings.autobackup.backupintervalhours = backupInterval;} @@ -3407,7 +3407,7 @@ module.exports.CreateDB = function (parent, func) { const child_process = require('child_process'); child_process.exec(cmd, { cwd: backupPath }, function(error, stdout, stdin) { if ((error != null) && (error != '')) { - func(1, "Unable to find pg_dump tool, backup will not be performed. Command tried: " + cmd); + func(1, "pg_dump error, backup will not be performed. Command tried: " + cmd); return; } else {parent.config.settings.autobackup.backupintervalhours = backupInterval;} });