Don't log stack trace for expected exceptions (#9279)
This commit is contained in:
parent
b8753fba32
commit
04436a13b3
|
@ -45,10 +45,12 @@ final class PluginImplUtil { // TODO: Copy & paste from v2
|
|||
// dependency is not on the class path).
|
||||
logger.log(
|
||||
Level.FINE,
|
||||
e,
|
||||
() ->
|
||||
implFullClassName
|
||||
+ " not present. "
|
||||
"Failed to load "
|
||||
+ implFullClassName
|
||||
+ " ("
|
||||
+ e.getClass().getName()
|
||||
+ "). "
|
||||
+ "Most likely, corresponding SDK component is either not on classpath or incompatible.");
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -45,10 +45,12 @@ final class PluginImplUtil { // TODO: Copy & pasted to v1
|
|||
// dependency is not on the class path).
|
||||
logger.log(
|
||||
Level.FINE,
|
||||
e,
|
||||
() ->
|
||||
implFullClassName
|
||||
+ " not present. "
|
||||
"Failed to load "
|
||||
+ implFullClassName
|
||||
+ " ("
|
||||
+ e.getClass().getName()
|
||||
+ "). "
|
||||
+ "Most likely, corresponding SDK component is either not on classpath or incompatible.");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue