projects
/
osm
/
devops.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fcc259
)
Logging data validation exceptions in NBI charm
66/9966/1
author
sousaedu
<eduardo.sousa@canonical.com>
Wed, 11 Nov 2020 17:06:31 +0000
(17:06 +0000)
committer
sousaedu
<eduardo.sousa@canonical.com>
Wed, 11 Nov 2020 17:06:31 +0000
(17:06 +0000)
Change-Id: Ie818fd1c7092b64b61ddac5184c5d817a7880f46
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
installers/charm/nbi/src/charm.py
patch
|
blob
|
history
diff --git
a/installers/charm/nbi/src/charm.py
b/installers/charm/nbi/src/charm.py
index
f0347e2
..
7ef9d59
100755
(executable)
--- 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