From e79b2b807084f2374e7c44cccaf162cb4f195b34 Mon Sep 17 00:00:00 2001 From: Noah Zalev Date: Sat, 10 Apr 2021 20:41:50 -0400 Subject: [PATCH] Update db.js Updated failure string --- db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.js b/db.js index ee5a7606..d2d318be 100644 --- a/db.js +++ b/db.js @@ -1841,7 +1841,7 @@ module.exports.CreateDB = function (parent, func) { } output.on('close', function () { obj.performingBackup = false; - if (func) { if (sqlDumpSuccess) { func('Auto-backup completed.'); } else { func('Auto-backup completed without mongodb database: ' + error); } } + if (func) { if (sqlDumpSuccess) { func('Auto-backup completed.'); } else { func('Auto-backup completed without MySQL/MariaDB database: ' + error); } } obj.performCloudBackup(newAutoBackupPath + '.zip', func); setTimeout(function () { try { parent.fs.unlink(newBackupPath + '.sql', function () { }); } catch (ex) { console.log(ex); } }, 5000); });