From 9b6ad36b93538bbe2621b8c30d899862d8840e60 Mon Sep 17 00:00:00 2001 From: sousaedu Date: Wed, 11 Nov 2020 17:06:31 +0000 Subject: [PATCH] Logging data validation exceptions in NBI charm Change-Id: Ie818fd1c7092b64b61ddac5184c5d817a7880f46 Signed-off-by: sousaedu --- installers/charm/nbi/src/charm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/installers/charm/nbi/src/charm.py b/installers/charm/nbi/src/charm.py index f0347e27..7ef9d59e 100755 --- a/installers/charm/nbi/src/charm.py +++ b/installers/charm/nbi/src/charm.py @@ -367,6 +367,7 @@ class NbiCharm(CharmBase): self.port, ) except ValidationError as exc: + LOGGER.exception("Config/Relation data validation error") self.unit.status = BlockedStatus(str(exc)) return -- 2.25.1