fix(monitor): Resolve build fail.

Fixes #3602
This commit is contained in:
harsh-aghara committed 2026-05-06 00:09:29 +05:30
1 parent ba2d23fd82
commit c72287cb21
1 file changed
+1 -1
@@ -489,7 +489,7 @@ export class MonitorService implements IMonitorService {
if (result.status === "rejected") {
failedCount++;
this.logger.error({
message: `Failed to sync job queue for monitor ${monitors[index].id} during bulk ${pause ? "pause" : "resume"}`,
message: `Failed to sync job queue for monitor ${monitors[index]?.id || "unknown"} during bulk ${pause ? "pause" : "resume"}`,
service: SERVICE_NAME,
method: "bulkPauseMonitors",
stack: result.reason instanceof Error ? result.reason.stack : undefined,