Skip to content

Commit

Permalink
docs(readme): fix realtime errors docs link (#1286)
Browse files Browse the repository at this point in the history
  • Loading branch information
guspan-tanadi authored Jan 24, 2025
1 parent fc019df commit d1d50c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ A full example can be found [here](https://github.com/openai/openai-node/blob/ma

### Realtime error handling

When an error is encountered, either on the client side or returned from the server through the [`error` event](https://platform.openai.com/docs/guides/realtime/realtime-api-beta#handling-errors), the `error` event listener will be fired. However, if you haven't registered an `error` event listener then an `unhandled Promise rejection` error will be thrown.
When an error is encountered, either on the client side or returned from the server through the [`error` event](https://platform.openai.com/docs/guides/realtime-model-capabilities#error-handling), the `error` event listener will be fired. However, if you haven't registered an `error` event listener then an `unhandled Promise rejection` error will be thrown.

It is **highly recommended** that you register an `error` event listener and handle errors approriately as typically the underlying connection is still usable.

Expand Down

0 comments on commit d1d50c8

Please sign in to comment.