mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
remove unnecessary asynchronous logic in index
This commit is contained in:
@@ -30,8 +30,7 @@ class EventManager {
|
||||
url: process.env.REDIS_URL
|
||||
});
|
||||
this.publisher.on('error', (e) => {
|
||||
this.logger.error('REDIS PUBLISHER CLIENT ERROR:', e);
|
||||
throw new Error('UNABLE TO CREATE PUBLISHER CLIENT because: ' + e);
|
||||
throw new Error('PUBLISHER CLIENT FAILED because: ' + e);
|
||||
});
|
||||
try {
|
||||
await this.publisher.connect();
|
||||
|
||||
Reference in New Issue
Block a user