Skip to content

Commit

Permalink
SLCORE-1153: Don't log an error on ProtBuf check for analysis readine…
Browse files Browse the repository at this point in the history
…ss (#1234)

This is just a noisy error when creating a connection and binding a project to determine whether the analysis is yet ready.
  • Loading branch information
thahnen authored Jan 28, 2025
1 parent 2f16d03 commit efd9810
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private Optional<AnalyzerConfiguration> tryRead() {
try {
return Optional.of(read());
} catch (Exception e) {
LOG.error("Could not load analyzer configuration storage", e);
LOG.debug("Could not load analyzer configuration storage", e);
return Optional.empty();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public boolean isValid() {
rwLock.read(() -> ProtobufFileUtil.readFile(pluginReferencesFilePath, Sonarlint.PluginReferences.parser()));
return true;
} catch (Exception e) {
LOG.error("Could not load plugins storage", e);
LOG.debug("Could not load plugins storage", e);
return false;
}
}
Expand Down

0 comments on commit efd9810

Please sign in to comment.