Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

chore: removes debug logging

towfiqif6a2ae85eff0
diff --git a/backend/src/managers/CronManager.ts b/backend/src/managers/CronManager.ts
index 68ee40c..d61aea1 100644
--- a/backend/src/managers/CronManager.ts
+++ b/backend/src/managers/CronManager.ts
@@ -112,18 +112,7 @@ export class CronManager<T extends ScheduleOptions> {
}
try {
- // === DEBUG LOGGING START ===
- const cronInstanceId = `cron_${Date.now()}_${Math.floor(Math.random() * 1000)}`;
- console.log(
- `[DEBUG_CRON] ATTEMPTING TO CREATE new Cron instance ${cronInstanceId} for plan ${id}.`
- );
- // === DEBUG LOGGING END ===
-
const cron = new Cron(cronExpression, () => {
- // === DEBUG LOGGING START ===
- console.log(`[DEBUG_CRON] FIRING Cron instance ${cronInstanceId} for plan ${id}.`);
- // === DEBUG LOGGING END ===
- console.log('[scheduleTask] :', `Executing cron task for ${id}`, typeof options);
if (
options &&
typeof options === 'object' &&
diff --git a/backend/src/services/ConfigService.ts b/backend/src/services/ConfigService.ts
index c02c4d2..a2060d9 100644
--- a/backend/src/services/ConfigService.ts
+++ b/backend/src/services/ConfigService.ts
@@ -248,7 +248,6 @@ class ConfigService {
// Save if something changed or didn't exist
if (finalSecret !== keysFileContent.SECRET || finalApiKey !== keysFileContent.APIKEY) {
try {
- // IMPORTANT: Preserve existing data (like publicKey/encryptedPrivateKey)
const newContent = {
...keysFileContent,
SECRET: finalSecret,