feat: temporary test error

This commit is contained in:
2026-04-01 02:33:24 +07:00 Unverified
parent bbf6aa3cb3
commit 666acaa3ae
+3
View File
@@ -251,6 +251,9 @@ export function card(app: App) {
const enkaLoc = locs[lang ?? "en"];
if (debug === "dump" && heightRaw === 1234)
throw new Error("Intentional Test Error");
if (typeof data.avatarInfoList === "undefined")
return error(400, errorLoc.private);
const char = data.avatarInfoList.find(