Skip to content

Commit 1ca78a3

Browse files
author
Akshay Dewan
committed
(#4994) Change log level to 'warn' and add more context around the error
1 parent a1bec29 commit 1ca78a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugin-infra/go-plugin-access/src/main/java/com/thoughtworks/go/plugin/access/common/settings/PluginSettingsMetadataLoader.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ void fetchPluginSettingsMetaData(GoPluginDescriptor pluginDescriptor) {
6161
List<ExtensionSettingsInfo> validMetadata = allSettingsAndViewPairsWhichAreValid(allMetadata);
6262

6363
if (validMetadata.size() == 0) {
64-
LOGGER.error("Failed to fetch plugin settings metadata for plugin {}. Maybe the plugin does not implement plugin settings and view?", pluginId);
65-
LOGGER.error("Plugin: {} - Metadata load info: {}", pluginId, allMetadata);
64+
LOGGER.warn("Failed to fetch plugin settings metadata for plugin {}. Maybe the plugin does not implement plugin settings and view?", pluginId);
65+
LOGGER.warn("Plugin: {} - Metadata load info: {}", pluginId, allMetadata);
66+
LOGGER.warn("Not all plugins are required to implement the request above. This error may be safe to ignore.");
6667
return;
6768
}
6869

0 commit comments

Comments
 (0)