diff --git a/kmk/keys.py b/kmk/keys.py index 9465918..5cad315 100644 --- a/kmk/keys.py +++ b/kmk/keys.py @@ -387,7 +387,7 @@ class KeyAttrDict: print(f'{key}: {maybe_key}') if not maybe_key: - raise ValueError('Invalid key') + raise ValueError(f'Invalid key: {key}') return self.__cache[key]