Fix printing items in logs
This commit is contained in:
parent
8fd6f3b751
commit
b480d6edfd
|
@ -172,7 +172,7 @@ def cmd_action(cmd_args):
|
||||||
source = LocalSource(data_path, args.source)
|
source = LocalSource(data_path, args.source)
|
||||||
try:
|
try:
|
||||||
item = execute_action(source, args.item, args.action, 5)
|
item = execute_action(source, args.item, args.action, 5)
|
||||||
print("Item:", item, file=sys.stderr)
|
print("Item:", item._item, file=sys.stderr)
|
||||||
except InvalidConfigException as ex:
|
except InvalidConfigException as ex:
|
||||||
print("Could not fetch", args.source, file=sys.stderr)
|
print("Could not fetch", args.source, file=sys.stderr)
|
||||||
print(ex, file=sys.stderr)
|
print(ex, file=sys.stderr)
|
||||||
|
|
Loading…
Reference in New Issue