Skip to content

Commit 6c45644

Browse files
committed
Improve Redis connection check logging
1 parent 38bbca4 commit 6c45644

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8-
## Version 1.6.1 - 2025-03-xx
8+
## Version 1.6.1 - 2025-03-04
99

1010
### Fixed
1111

1212
- Document `wsDisconnect` with reason parameter
13+
- Improve Redis connection check logging
1314

1415
## Version 1.6.0 - 2025-02-03
1516

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/redis/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const connectionCheck = async (options) => {
153153
})
154154
.catch(reject);
155155
}).catch((err) => {
156-
LOG?.error("Redis connection check failed! Falling back to no redis mode", err);
156+
LOG?.warn("Falling back to no redis mode. Redis connection could not be established: ", err.message);
157157
return false;
158158
});
159159
};

0 commit comments

Comments
 (0)