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}`,
+ );
}
}