Skip to content

Commit

Permalink
update exception message (Azure#2533)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzhou-msft authored Oct 16, 2020
1 parent 3d874c5 commit ff30c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci/update_ext_cmd_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
def merge(data, key, value):
if isinstance(value, str):
if key in data:
raise Exception(f"Key: {key} already exists. 2 extensions cannot have the same command!")
raise Exception(f"Key: {key} already exists in {data[key]}. 2 extensions cannot have the same command!")
data[key] = value
else:
data.setdefault(key, {})
Expand Down

0 comments on commit ff30c8e

Please sign in to comment.