Migrate console to coreEvents.emitFeedback or debugLogger (#15219)

This commit is contained in:
Adib234
2025-12-29 15:46:10 -05:00
committed by GitHub
parent dcd2449b1a
commit 10ae84869a
66 changed files with 564 additions and 425 deletions
@@ -342,7 +342,10 @@ export async function getFolderStructure(
return `${summary}\n\n${resolvedPath}${path.sep}\n${structureLines.join('\n')}`;
} catch (error: unknown) {
console.error(`Error getting folder structure for ${resolvedPath}:`, error);
debugLogger.warn(
`Error getting folder structure for ${resolvedPath}:`,
error,
);
return `Error processing directory "${resolvedPath}": ${getErrorMessage(error)}`;
}
}