We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when i set a value, i get a error
let loopGroup = MultiThreadedEventLoopGroup(numThreads: System.coreCount) let option = RedisClientOptions(port: 6379, host: "127.0.0.1", password: "1234567", database: nil, eventLoopGroup: loopGroup) let client = RedisClient(options: option) client.set("aa", "11") { (error, esp) in print(error) print(esp) }
it will print
nil Optional(<Error: RESPError(_storage: NIORedis.RESPError.(_Storage in _00741320934968E7EEA61F1326A5517D))>)
The text was updated successfully, but these errors were encountered:
Can you print:
error?.code
and
error?.message
(I also added a better debug description to the head version)
Since you are passing a password, I think that this is probably the issue. The lib doesn't support them right now.
Sorry, something went wrong.
@helje5 error is nil, respValue is "<Error: RESPError(_storage: NIORedis.RESPError.(_Storage in _00741320934968E7EEA61F1326A5517D))>"
client.set("aa", "11") { (error, resp) in print(error) // nil print(resp) // <Error: RESPError(_storage: NIORedis.RESPError.(_Storage in _00741320934968E7EEA61F1326A5517D))> }
Oh right, sorry, I misread that. That is wrong for sure, I'll check.
helje5
No branches or pull requests
when i set a value, i get a error
it will print
The text was updated successfully, but these errors were encountered: