Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbert committed Oct 8, 2024
1 parent 292a8d5 commit c9ad619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default function Server({

function callback(x) {
if (!x)
return reject(new Error('Could not listen on', port))
return reject(new Error('Could not listen on ' + port))

handle = x
resolve({ port: uWS.us_socket_local_port(handle), handle, unlisten })
Expand Down

0 comments on commit c9ad619

Please sign in to comment.