Improve debug message.

This commit is contained in:
Michael Lipp 2025-03-16 22:33:01 +01:00
parent e6acafdf95
commit 270f2b64f8

View file

@ -113,6 +113,7 @@ public class K8sObserver<O extends KubernetesObject,
} }
} catch (ApiException | RuntimeException e) { } catch (ApiException | RuntimeException e) {
logger.log(Level.FINE, e, () -> "Problem watching" logger.log(Level.FINE, e, () -> "Problem watching"
+ " resource " + context.getKind()
+ " (will retry): " + e.getMessage()); + " (will retry): " + e.getMessage());
delayRestart(startedAt); delayRestart(startedAt);
} }