Skip to content

Commit 1ff2924

Browse files
committedJun 15, 2020
feat(cache, ab): attach module name
1 parent c28e9f1 commit 1ff2924

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/extensions/sentencesABSwitcher.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ class SentencesABSwitcher extends Cache {
3333
tmp.on('error', err => {
3434
console.log(colors.red(err.stack))
3535
if (connectionFailedAttemp >= 3) {
36-
winston.error('Attemp to connect to redis ' + connectionFailedAttemp + ' times, but all failed. Process exiting.')
36+
winston.error('[AB] attemp to connect to redis ' + connectionFailedAttemp + ' times, but all failed, process exiting.')
3737
process.exit(1)
3838
}
39-
winston.error('failed to connect to redis. Attemp again...')
39+
winston.error('[AB] failed to connect to redis, we will attemp again...')
4040
connectionFailedAttemp++
4141
SentencesABSwitcher.connect()
4242
})

0 commit comments

Comments
 (0)
Please sign in to comment.