From aff21d8211a34d98ed4fa4904682ad4719e4ebbf Mon Sep 17 00:00:00 2001 From: Ned Letcher Date: Mon, 14 Aug 2017 20:47:00 +1000 Subject: [PATCH] added id to KeyError for get and set on Components --- dash/development/base_component.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dash/development/base_component.py b/dash/development/base_component.py index 4ce2fd6e1b..f52ea5803c 100644 --- a/dash/development/base_component.py +++ b/dash/development/base_component.py @@ -103,7 +103,7 @@ def _get_set_or_delete(self, id, operation, new_item=None): # The end of our branch # If we were in a list, then this exception will get caught - raise KeyError + raise KeyError(id) # Supply ABC methods for a MutableMapping: # - __getitem__