From 0941ec9f3ebade3019504befaed9a4897d3a2f33 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sun, 12 Apr 2026 20:00:08 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- apps/schedules/src/index.ts | 5 ++++- apps/schedules/src/utils.ts | 10 ++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/apps/schedules/src/index.ts b/apps/schedules/src/index.ts index 0f811de6f..a5f0fd47c 100644 --- a/apps/schedules/src/index.ts +++ b/apps/schedules/src/index.ts @@ -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"); diff --git a/apps/schedules/src/utils.ts b/apps/schedules/src/utils.ts index dc22c2d4b..7caa106af 100644 --- a/apps/schedules/src/utils.ts +++ b/apps/schedules/src/utils.ts @@ -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}`, + ); } }