small fix

This commit is contained in:
overcuriousity 2025-08-10 16:07:32 +02:00
parent df6bda30b1
commit f09f519f46

View File

@ -150,9 +150,6 @@ async function loadRawData(): Promise<ToolsData> {
console.error('ToolsDataSchema validation errors:'); console.error('ToolsDataSchema validation errors:');
error.errors.forEach((err, index) => { error.errors.forEach((err, index) => {
console.error(`${index + 1}. Path: ${err.path.join('.')}, Error: ${err.message}`); console.error(`${index + 1}. Path: ${err.path.join('.')}, Error: ${err.message}`);
if (err.input !== undefined) {
console.error(` Received:`, typeof err.input === 'object' ? JSON.stringify(err.input, null, 2) : err.input);
}
}); });
} else { } else {
console.error('Non-Zod validation error:', error); console.error('Non-Zod validation error:', error);