small fix
This commit is contained in:
parent
df6bda30b1
commit
f09f519f46
@ -150,9 +150,6 @@ async function loadRawData(): Promise<ToolsData> {
|
||||
console.error('ToolsDataSchema validation errors:');
|
||||
error.errors.forEach((err, index) => {
|
||||
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 {
|
||||
console.error('Non-Zod validation error:', error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user