From: sousaedu Date: Wed, 11 Nov 2020 17:06:31 +0000 (+0000) Subject: Logging data validation exceptions in NBI charm X-Git-Tag: release-v9.0-start~41 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=9b6ad36b93538bbe2621b8c30d899862d8840e60;p=osm%2Fdevops.git Logging data validation exceptions in NBI charm Change-Id: Ie818fd1c7092b64b61ddac5184c5d817a7880f46 Signed-off-by: sousaedu --- 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