Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KhudaDad414 committed Dec 1, 2023
1 parent ca86a4a commit 67c9d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/ws/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class WebSocketsAdapter extends Adapter {
const customServerPort = String(customServer.address().port)
if (customServerPort !== this._getPort()) {
throw new Error(
`Your custom HTTP server is listening on port ${customServerPort} but your AsyncAPI file says it must listen on ${this._getPort()}. Please fix the inconsistency.`
`Your custom HTTP server is listening on port ${customServerPort} but your AsyncAPI or config file says it must listen on ${this._getPort()}. Please fix the inconsistency.`
)
}
}
Expand Down

0 comments on commit 67c9d6f

Please sign in to comment.