fix(core): use debugLogger.warn for loop detection errors (#11986)

This commit is contained in:
Sandy Tao
2025-10-24 14:00:05 -07:00
committed by GitHub
parent 40057b55f0
commit 7e2642b9f1

View File

@@ -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;
}