Skip to content

Commit

Permalink
Fix on_error docstring in README (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnoob committed Feb 14, 2024
1 parent 2f88238 commit 1642920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -613,7 +613,7 @@ def on_data(transcript: aai.RealtimeTranscript):
print(transcript.text, end="\r")

def on_error(error: aai.RealtimeError):
"This function is called when the connection has been closed."
"This function is called when an error occurs."

print("An error occured:", error)

Expand Down

0 comments on commit 1642920

Please sign in to comment.