Skip to content

Commit

Permalink
fix: Correct log message (#988)
Browse files Browse the repository at this point in the history
Log messages must include the "at" and "message" fields, amongst others.
  • Loading branch information
pxrl authored Oct 11, 2023
1 parent 306d81a commit 63ab587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/RedisUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export async function disconnectRedisClient(logger?: winston.Logger): Promise<vo
const redisClient = await getRedis(logger);
if (redisClient !== undefined) {
// todo understand why redisClient isn't GCed automagically.
logger.debug("Disconnecting from redis server.");
logger.debug({ at: "disconnectRedisClient", message: "Disconnecting from redis server." });
await redisClient.disconnect();
}
}
Expand Down

0 comments on commit 63ab587

Please sign in to comment.