refactor: remove unused catch errors

This commit is contained in:
Marukome0743
2025-07-03 08:42:04 +09:00
parent 2fe7349889
commit e12df7b32e
46 changed files with 73 additions and 73 deletions
@@ -130,7 +130,7 @@ const createStringToJSONSchema = (schema: z.ZodTypeAny) => {
}
try {
return JSON.parse(str);
} catch (_e) {
} catch {
ctx.addIssue({ code: "custom", message: "Invalid JSON format" });
return z.NEVER;
}