spec(backend): IdentifiableErrorの場合もエラーメッセージが正常に表示されるように (MisskeyIO#463)

This commit is contained in:
まっちゃとーにゅ
2024-02-18 06:21:58 +09:00
committed by GitHub
parent 82cc3987c1
commit 4eb645403f
9 changed files with 67 additions and 37 deletions

View File

@@ -36,7 +36,7 @@ export class UserAuthService {
});
if (delta === null) {
throw new IdentifiableError('7d0a7d85-206c-4d16-8cf3-8af92249a082', 'authentication failed');
throw new IdentifiableError('7d0a7d85-206c-4d16-8cf3-8af92249a082', 'Two-factor authentication failed.');
}
}
}