stefanwille / crystal-redis

Full featured Redis client for Crystal
MIT License
381 stars 61 forks source link

Error: undefined constant IO::Timeout #109

Closed mashirozx closed 3 years ago

mashirozx commented 3 years ago
In lib/redis/src/redis/socket_wrapper.cr:11:15

 11 | rescue ex : IO::Timeout | Errno | Socket::Error | OpenSSL::Error
                  ^
Error: undefined constant IO::Timeout
Serdnad commented 3 years ago

IO::Timeout was changed to IO::TimeoutError in Crystal 0.35.0.

Adding branch: master to your shards.yml should fix this.

mashirozx commented 3 years ago

Thanks