[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-04-12 20:00:08 +00:00
committed by GitHub
parent 879218a8b1
commit 0941ec9f3e
2 changed files with 12 additions and 3 deletions
+4 -1
View File
@@ -104,7 +104,10 @@ process.on("uncaughtException", (err) => {
});
process.on("unhandledRejection", (reason, _promise) => {
logger.error(reason instanceof Error ? reason : { reason: String(reason) }, "Unhandled Rejection at: Promise");
logger.error(
reason instanceof Error ? reason : { reason: String(reason) },
"Unhandled Rejection at: Promise",
);
});
const port = Number.parseInt(process.env.PORT || "3000");
+8 -2
View File
@@ -142,7 +142,10 @@ export const initializeJobs = async () => {
cronSchedule: CLEANUP_CRON_JOB,
});
} catch (error) {
logger.error(error, `Failed to schedule cleanup job for server ${serverId}`);
logger.error(
error,
`Failed to schedule cleanup job for server ${serverId}`,
);
}
}
@@ -255,7 +258,10 @@ export const initializeJobs = async () => {
cronSchedule: volumeBackup.cronExpression,
});
} catch (error) {
logger.error(error, `Failed to schedule volume backup ${volumeBackup.volumeBackupId}`);
logger.error(
error,
`Failed to schedule volume backup ${volumeBackup.volumeBackupId}`,
);
}
}