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).
|
// dependency is not on the class path).
|
||||||
logger.log(
|
logger.log(
|
||||||
Level.FINE,
|
Level.FINE,
|
||||||
e,
|
|
||||||
() ->
|
() ->
|
||||||
implFullClassName
|
"Failed to load "
|
||||||
+ " not present. "
|
+ implFullClassName
|
||||||
|
+ " ("
|
||||||
|
+ e.getClass().getName()
|
||||||
|
+ "). "
|
||||||
+ "Most likely, corresponding SDK component is either not on classpath or incompatible.");
|
+ "Most likely, corresponding SDK component is either not on classpath or incompatible.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,10 +45,12 @@ final class PluginImplUtil { // TODO: Copy & pasted to v1
|
||||||
// dependency is not on the class path).
|
// dependency is not on the class path).
|
||||||
logger.log(
|
logger.log(
|
||||||
Level.FINE,
|
Level.FINE,
|
||||||
e,
|
|
||||||
() ->
|
() ->
|
||||||
implFullClassName
|
"Failed to load "
|
||||||
+ " not present. "
|
+ implFullClassName
|
||||||
|
+ " ("
|
||||||
|
+ e.getClass().getName()
|
||||||
|
+ "). "
|
||||||
+ "Most likely, corresponding SDK component is either not on classpath or incompatible.");
|
+ "Most likely, corresponding SDK component is either not on classpath or incompatible.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue