Skip to content

Commit

Permalink
fix KeyError when triggering unknown item
Browse files Browse the repository at this point in the history
  • Loading branch information
trehn committed Jun 29, 2017
1 parent e5f86cb commit 1280e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundlewrap/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def _inject_canned_actions(items):

try:
target_item = items[target_item_id]
except NoSuchItem:
except KeyError:
raise BundleError(_(
"{item} in bundle '{bundle}' triggers unknown item '{target_item}'"
).format(
Expand Down

0 comments on commit 1280e29

Please sign in to comment.