Update 5-function-returning-tips.md
This commit is contained in:
parent
05b583c040
commit
c2c747d93f
|
@ -149,7 +149,7 @@ def create_for_input():
|
|||
try:
|
||||
item = create_item(name)
|
||||
except CreateItemError as e:
|
||||
print(f'create item failed: {err_msg}')
|
||||
print(f'create item failed: {e}')
|
||||
else:
|
||||
print(f'item<{name}> created')
|
||||
|
||||
|
|
Loading…
Reference in New Issue