haraka-plugin-karma 2.1.5 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/index.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
|
|
|
4
4
|
|
|
5
5
|
### Unreleased
|
|
6
6
|
|
|
7
|
+
### [2.1.6] - 2024-11-08
|
|
8
|
+
|
|
9
|
+
- fix missing error handler on redis client [#45](https://github.com/haraka/haraka-plugin-redis/issues/45)
|
|
10
|
+
|
|
7
11
|
### [2.1.5] - 2024-04-23
|
|
8
12
|
|
|
9
13
|
- doc(README): remove spurious markdown link
|
package/index.js
CHANGED
|
@@ -124,6 +124,9 @@ exports.results_init = async function (next, connection) {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
connection.notes.redis = redis.createClient(this.redisCfg.pubsub)
|
|
127
|
+
connection.notes.redis.on('error', (err) => {
|
|
128
|
+
connection.logerror(this, err.message)
|
|
129
|
+
})
|
|
127
130
|
await connection.notes.redis.connect()
|
|
128
131
|
|
|
129
132
|
const pattern = this.get_redis_sub_channel(connection)
|