diegosouzapw/OmniRoute · error

[ARENA_ELO_SYNC] Initial sync error:

Error message

[ARENA_ELO_SYNC] Initial sync error:

What it means

Error "[ARENA_ELO_SYNC] Initial sync error:" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/lib/arenaEloSync.ts:483

 */
function startPeriodicSync(intervalMs?: number): void {
  if (syncTimer) return; // Already running

  const interval = intervalMs ?? SYNC_INTERVAL_MS;
  activeSyncIntervalMs = interval;
  console.log(`[ARENA_ELO_SYNC] Starting periodic sync every ${interval / 1000}s`);

  // Initial sync (non-blocking)
  syncArenaElo()
    .then((result) => {
      if (result.success) {
        console.log(
          `[ARENA_ELO_SYNC] Initial sync complete: ${result.modelCount} model intelligence entries`
        );
      }
    })
    .catch((err) => {
      console.warn(
        "[ARENA_ELO_SYNC] Initial sync error:",
        err instanceof Error ? err.message : err
      );
    });

  syncTimer = setInterval(() => {
    syncArenaElo()
      .then((result) => {
        if (result.success) {
          console.log(`[ARENA_ELO_SYNC] Periodic sync complete: ${result.modelCount} entries`);
        }
      })
      .catch((err) => {
        console.warn(
          "[ARENA_ELO_SYNC] Periodic sync error:",
          err instanceof Error ? err.message : err
        );
      });

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/lib/arenaEloSync.ts:483 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/0a99d6b5a72bdb94. Report an issue: GitHub.