mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
Add error logging for unexpected Redis disconnections
This commit is contained in:
@@ -13,6 +13,9 @@ export abstract class BaseRedisRepository {
|
||||
}),
|
||||
) {
|
||||
this.redisClient = redisClient;
|
||||
this.redisClient.on('error', (err) => {
|
||||
console.error(err.stack);
|
||||
});
|
||||
}
|
||||
|
||||
get isReady() {
|
||||
|
||||
Reference in New Issue
Block a user