Skip to content

Commit 227be02

Browse files
FIX: Disambiguate error message in py client
1 parent 76853a2 commit 227be02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

databento/live/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def start(
392392
logger.info("starting live client")
393393
if not self.is_connected():
394394
if self.dataset == "":
395-
raise ValueError("cannot start a live client without a subscription")
395+
raise ValueError("must call subscribe() before starting live client")
396396
raise ValueError("cannot start a live client after it is closed")
397397
if self._session.is_streaming():
398398
raise ValueError("client is already started")

0 commit comments

Comments
 (0)