mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-28 22:14:52 -07:00
refactor: Migrate console.error to debugLogger.warn in atCommandProcessor.ts (#12134)
This commit is contained in:
@@ -281,7 +281,7 @@ export async function handleAtCommand({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
} catch (globError) {
|
} catch (globError) {
|
||||||
console.error(
|
debugLogger.warn(
|
||||||
`Error during glob search for ${pathName}: ${getErrorMessage(globError)}`,
|
`Error during glob search for ${pathName}: ${getErrorMessage(globError)}`,
|
||||||
);
|
);
|
||||||
onDebugMessage(
|
onDebugMessage(
|
||||||
@@ -294,7 +294,7 @@ export async function handleAtCommand({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.error(
|
debugLogger.warn(
|
||||||
`Error stating path ${pathName}: ${getErrorMessage(error)}`,
|
`Error stating path ${pathName}: ${getErrorMessage(error)}`,
|
||||||
);
|
);
|
||||||
onDebugMessage(
|
onDebugMessage(
|
||||||
|
|||||||
Reference in New Issue
Block a user