mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-08-22 02:14:21 -05:00
Continue trying other requests even if one fails
This commit is contained in:
@@ -20,8 +20,11 @@ const updaters = [
|
||||
];
|
||||
|
||||
async function updateAll() {
|
||||
for (let updater of updaters)
|
||||
await updater.update();
|
||||
for (let updater of updaters) {
|
||||
try {
|
||||
await updater.update();
|
||||
} catch (e) { }
|
||||
}
|
||||
|
||||
return 'Done';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user