diff --git a/frontend/js/leaderboard/compare.js b/frontend/js/leaderboard/compare.js index cad75c17..3c25359a 100644 --- a/frontend/js/leaderboard/compare.js +++ b/frontend/js/leaderboard/compare.js @@ -847,3 +847,5 @@ function renderProgressHistoryChart() { }, }); } + +.catch(err => console.error("Promise.all failed:", err)); \ No newline at end of file diff --git a/scripts/analyze-inactivity.js b/scripts/analyze-inactivity.js index 8c327766..891e1fdd 100644 --- a/scripts/analyze-inactivity.js +++ b/scripts/analyze-inactivity.js @@ -118,3 +118,5 @@ async function fetchData(url) { process.exit(1); } })(); + +.catch(err => console.error("Promise.all failed:", err)); \ No newline at end of file diff --git a/scripts/sync-leaderboard.js b/scripts/sync-leaderboard.js index 9579ac1e..eb24a19a 100644 --- a/scripts/sync-leaderboard.js +++ b/scripts/sync-leaderboard.js @@ -660,3 +660,5 @@ async function processTimeframe(sourceData, DATA_DIR, periodName, daysAgo) { console.error(`Failed to write sync file: `, err.message); } })(); + +.catch(err => console.error("Promise.all failed:", err)); \ No newline at end of file