You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't use `continue`
Make sure the returned strings are always proper utf8 values
Make sure the jit knows has as much information as possible
Don't return a bulk string before `\n` is present
Improve hiredis warnings
@@ -214,9 +212,11 @@ function JavascriptRedisParser (options) {
214
212
if(options.name==='hiredis'){
215
213
try{
216
214
varHiredis=require('../test/hiredis')
217
-
console.error(newTypeError('Using the hiredis parser is discouraged. Please remove the name option.').stack)
215
+
console.error(newTypeError('Using the hiredis parser is discouraged. Please remove the name option.').stack.replace('Error','Warning'))
218
216
returnnewHiredis(options)
219
-
}catch(e){}
217
+
}catch(e){
218
+
console.error(newTypeError('Hiredis is not installed. Please remove the `name` option. The (faster) JS parser is used instead.').stack.replace('Error','Warning'))
0 commit comments