diff --git a/src/services/github.ts b/src/services/github.ts index 008c2be..1c2c83b 100644 --- a/src/services/github.ts +++ b/src/services/github.ts @@ -4,7 +4,7 @@ export async function fetchBotActivities(since?: string): Promise try { const response = await fetch('/cache/bot-activities.json'); if (!response.ok) { - throw new Error(`Failed to load cached data: ${response.status} ${response.statusText}`); + throw new Error(`Failed to load cached data: ${response.status.toString()} ${response.statusText}`); } const data = await response.json();