diff --git a/libraries/botbuilder-core/botbuilder/core/bot_state.py b/libraries/botbuilder-core/botbuilder/core/bot_state.py index 9053a08d3..dc835a9bd 100644 --- a/libraries/botbuilder-core/botbuilder/core/bot_state.py +++ b/libraries/botbuilder-core/botbuilder/core/bot_state.py @@ -42,9 +42,7 @@ def create_property(self, name: str) -> StatePropertyAccessor: :return: If successful, the state property accessor created. """ if not name: - raise TypeError( - "BotState.create_property(): BotState cannot be None or empty." - ) + raise TypeError("BotState.create_property(): name cannot be None or empty.") return BotStatePropertyAccessor(self, name) def get(self, turn_context: TurnContext) -> Dict[str, object]: