Commit 3e64f1b7 authored by ibuler's avatar ibuler

[Update] 修改host key debug message

parent c4e1c3dd
......@@ -66,7 +66,7 @@ class Coco:
config.update(configs)
tmp = copy.deepcopy(configs)
tmp['HOST_KEY'] = tmp['HOST_KEY'][32:50] + '...'
tmp['HOST_KEY'] = tmp.get('HOST_KEY', '')[32:50] + '...'
logger.debug("Loading config from server: {}".format(
json.dumps(tmp)
))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment