Removed unneeded await
This commit is contained in:
parent
c4b50ec811
commit
c909bc4aa7
@ -47,7 +47,7 @@ export class Server {
|
|||||||
|
|
||||||
// Start the server
|
// Start the server
|
||||||
try {
|
try {
|
||||||
await this.http.listen(config.PORT, config.HOST)
|
this.http.listen(config.PORT, config.HOST)
|
||||||
logger.info(`Socket.IO running on port ${config.PORT}`)
|
logger.info(`Socket.IO running on port ${config.PORT}`)
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
logger.error(`Socket.IO failed to start: ${error.message}`)
|
logger.error(`Socket.IO failed to start: ${error.message}`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user