Fix Jakarta exception being casted in ExceptionFilter (#13054)
Co-authored-by: 石豪杰 <haojie.shi@i-hygeia.com>
This commit is contained in:
parent
8a509e9601
commit
ff561616e5
|
|
@ -92,7 +92,7 @@ public class ExceptionFilter implements Filter, Filter.Listener {
|
|||
}
|
||||
// directly throw if it's JDK exception
|
||||
String className = exception.getClass().getName();
|
||||
if (className.startsWith("java.") || className.startsWith("javax.")) {
|
||||
if (className.startsWith("java.") || className.startsWith("javax.") || className.startsWith("jakarta.")) {
|
||||
return;
|
||||
}
|
||||
// directly throw if it's dubbo exception
|
||||
|
|
|
|||
Loading…
Reference in New Issue