From 0a4e4f0903cca9cdc140d13f95072b463b55dd2a Mon Sep 17 00:00:00 2001 From: NoriDev Date: Tue, 27 Aug 2024 16:09:38 +0900 Subject: [PATCH] test --- packages/frontend/src/pages/admin/update.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/admin/update.vue b/packages/frontend/src/pages/admin/update.vue index 30cdbbae67..5a2546ccf9 100644 --- a/packages/frontend/src/pages/admin/update.vue +++ b/packages/frontend/src/pages/admin/update.vue @@ -107,13 +107,17 @@ async function init() { skipVersion.value = false; await misskeyApi('admin/update-meta', { skipVersion: skipVersion.value }); } + } catch (error) { + console.error('Failed to fetch CherryPick releases:', error); + } + try { // Misskey Releases Fetch const misskeyResponse = await fetch('https://api.github.com/repos/misskey-dev/misskey/releases'); const misskeyData = await misskeyResponse.json(); releasesMisskey.value = meta.enableReceivePrerelease ? misskeyData : misskeyData.filter(x => !x.prerelease); } catch (error) { - console.error('Failed to fetch releases:', error); + console.error('Failed to fetch Misskey releases:', error); } }