Skip to content

Commit 064c811

Browse files
ned2chriddyp
authored andcommitted
added id to KeyError for get and set on Components (#112)
1 parent b390e73 commit 064c811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/development/base_component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def _get_set_or_delete(self, id, operation, new_item=None):
103103

104104
# The end of our branch
105105
# If we were in a list, then this exception will get caught
106-
raise KeyError
106+
raise KeyError(id)
107107

108108
# Supply ABC methods for a MutableMapping:
109109
# - __getitem__

0 commit comments

Comments
 (0)