From cd1307bcc554d469df8839d605917dd0532bb110 Mon Sep 17 00:00:00 2001 From: Max Medvedev Date: Mon, 1 Dec 2025 16:37:12 +0100 Subject: [PATCH] IJPL-214609 disable reporting errors for contexts providing several contexts for a file related to IJPL-220967 (cherry picked from commit c581d574ecec915dc94b4120fbf0471863d59d92) IJ-CR-184504 GitOrigin-RevId: 57ae7f823abd143dfabdc032de5a0ac0a8149e6c --- .../src/com/intellij/psi/stubs/StubProcessingHelperBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/indexing-impl/src/com/intellij/psi/stubs/StubProcessingHelperBase.java b/platform/indexing-impl/src/com/intellij/psi/stubs/StubProcessingHelperBase.java index b86f2f031baf..8f00666244bb 100644 --- a/platform/indexing-impl/src/com/intellij/psi/stubs/StubProcessingHelperBase.java +++ b/platform/indexing-impl/src/com/intellij/psi/stubs/StubProcessingHelperBase.java @@ -111,7 +111,7 @@ public abstract class StubProcessingHelperBase { @NotNull Collection contexts) { if (ourContextErrorCounter.get() < MAX_CONTEXT_ERROR_NUMBER) { // todo IJPL-339 we need to process the file twice in this case. Not supported yet - LOG.error("Multiple contexts for file " + file + " in scope " + scope + ". Contexts: " + contexts); + LOG.warn("Multiple contexts for file " + file + " in scope " + scope + ". Contexts: " + contexts); ourContextErrorCounter.incrementAndGet(); } }