mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
fix(core): use debugLogger.warn for loop detection errors (#11986)
This commit is contained in:
@@ -432,7 +432,7 @@ export class LoopDetectionService {
|
||||
});
|
||||
} catch (e) {
|
||||
// Do nothing, treat it as a non-loop.
|
||||
this.config.getDebugMode() ? console.error(e) : debugLogger.debug(e);
|
||||
this.config.getDebugMode() ? debugLogger.warn(e) : debugLogger.debug(e);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user