0
0
Fork 0

fix: misskey problem

This commit is contained in:
ASTRO:? 2025-04-08 00:08:29 +09:00
parent bbf49cfff3
commit 6414292c29

View file

@ -76,6 +76,11 @@ const calculateRating = async (host: string, users: User[]) => {
printLog(`${toAcct(user)} 게정이 삭제, 정지, 또는 토큰이 제거된 것으로 보이며, 시스템에서 계정이 제거되었습니다.`, 'warn');
await deleteUser(user.username, user.host);
continue;
} else if (e.error.message.includes('suspended')) {
// ユーザーが削除されている場合、レコードからも消してとりやめ
printLog(`${toAcct(user)} 게정이 삭제, 정지, 또는 토큰이 제거된 것으로 보이며, 시스템에서 계정이 제거되었습니다.`, 'warn');
await deleteUser(user.username, user.host);
continue;
} else {
printLog(`Misskey 오류: ${JSON.stringify(e.error)}`, 'error');
continue;