We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd31ddf commit 54495e4Copy full SHA for 54495e4
src/main/kotlin/com/redhat/devtools/intellij/kubernetes/model/ResourceWatch.kt
@@ -111,8 +111,8 @@ open class ResourceWatch<T>(
111
logger<ResourceWatch<*>>().debug("Closing watch for $type resources.")
112
watch.close()
113
true
114
- } catch (e: KubernetesClientException) {
115
- logger<ResourceWatch<*>>().warn("Failed to close watch for $type resources.", e)
+ } catch (e: Exception) {
+ logger<ResourceWatch<*>>().warn("Error when closing watch for $type resources.", e)
116
false
117
}
118
0 commit comments