debug log
This commit is contained in:
parent
6e9417a149
commit
523bb18c66
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ class Watch(object):
|
||||||
# return raw string when we are streaming log
|
# return raw string when we are streaming log
|
||||||
if watch_arg == "watch":
|
if watch_arg == "watch":
|
||||||
event = self.unmarshal_event(line, return_type)
|
event = self.unmarshal_event(line, return_type)
|
||||||
|
print(event)
|
||||||
if isinstance(event, dict) \
|
if isinstance(event, dict) \
|
||||||
and event['type'] == 'ERROR':
|
and event['type'] == 'ERROR':
|
||||||
obj = event['raw_object']
|
obj = event['raw_object']
|
||||||
|
|
Reference in a new issue