Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
charts: rename orano2 to oran-o2
[pti/o2.git]
/
o2common
/
service
/
watcher
/
base.py
diff --git
a/o2common/service/watcher/base.py
b/o2common/service/watcher/base.py
index
a7d025e
..
0fc7853
100644
(file)
--- a/
o2common/service/watcher/base.py
+++ b/
o2common/service/watcher/base.py
@@
-43,7
+43,8
@@
class BaseWatcher(object):
# return self._probe(parent)
return cmds
except Exception as ex:
# return self._probe(parent)
return cmds
except Exception as ex:
- logger.warning("Failed to probe resource due to: " + str(ex))
+ logger.warning("Failed to probe %s watcher due to: %s - %s" %
+ (self._targetname(), type(ex), str(ex)))
return []
def _probe(self, parent: object = None, tags: object = None) \
return []
def _probe(self, parent: object = None, tags: object = None) \