Merge branch 'stable-3.0' into stable-3.1
* stable-3.0: Make toString(), hashCode(), equals() and friends final in AutoValue classes Schema_169: Increase log severity level Schema_146: Fix FutureReturnValueIgnored warning flagged by error prone Fix various usages of the Flogger API Schema_169: Fix usage of Flogger to log exception stack trace Keep alive database connection to prevent exceeding wait timeout Change-Id: I8af4a599788e55da4ff50ac513ff7ff910e1938d
This commit is contained in:
@@ -230,7 +230,8 @@ public class PluginConfigFactory implements ReloadPluginListener {
|
||||
cfg.load();
|
||||
} catch (ConfigInvalidException e) {
|
||||
// This is an error in user input, don't spam logs with a stack trace.
|
||||
logger.atWarning().log("Failed to load %s: %s", pluginConfigFile.toAbsolutePath(), e);
|
||||
logger.atWarning().log(
|
||||
"Failed to load %s: %s", pluginConfigFile.toAbsolutePath(), e.getMessage());
|
||||
} catch (IOException e) {
|
||||
logger.atWarning().withCause(e).log("Failed to load %s", pluginConfigFile.toAbsolutePath());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user