Description
Describe the bug
In commit 013a9b7, the behavior of ReflectorRunnable changed a little bit. A new catch block was added. See below.
Before the commit, all exceptions are caught by this
and exception handler will be invoked.
I'm not sure whether this behavior change is intended or not. It seems to me that exception handler should be invoked in the new catch block as well.
@yue9944882 BTW, what's the purpose of the exception handler? I plan to use it to do a pause when networking error (such as UnknownHostException) occurs, in order to avoid too frequent retries. Does this make sense? Well, I know that it is hard to add a custom exception handler for ReflectorRunnable at this point.
** Client Version **
12.0.0
** Kubernetes Version **
N/A
** Java Version **
Java 8
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Exception handler should be invoked in the new catch block as well probably.
KubeConfig
N/A
Server (please complete the following information):
- OS: Linux
- Environment: local
- Cloud: Azure
Additional context
N/A