Skip to content
New issue

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

CheckedOperationTimeoutException producing incorrect error message #2

Open
dcrissman opened this issue Aug 25, 2014 · 0 comments
Open

Comments

@dcrissman
Copy link
Owner

dcrissman commented Aug 25, 2014

It would be ideal if a connection timed out error was printed instead of unexpected error.

2014-08-25 02:53:11,889  ERROR cacher.memcached.getstrategy.AsyncGetStrategy - Unexpected error while retrieving key: [censored]
java.util.concurrent.ExecutionException: net.spy.memcached.internal.CheckedOperationTimeoutException: Operation timed out. - failing node: secret_host_name
    at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:180) ~[spymemcached-2.11.3.jar:2.11.3]
    at net.spy.memcached.internal.GetFuture.get(GetFuture.java:69) ~[spymemcached-2.11.3.jar:2.11.3]
    at cacher.memcached.getstrategy.AsyncGetStrategy.get(AsyncGetStrategy.java:84) ~[cacher-memcached-1.0.7.jar:na]
    at cacher.memcached.MemcachedCache.get(MemcachedCache.java:102) [cacher-memcached-1.0.7.jar:na]
    at cacher.fetcher.FetchManager.fetchSingle(FetchManager.java:181) [cacher-core-1.0.7.jar:na]
[censored]
Caused by: net.spy.memcached.internal.CheckedOperationTimeoutException: Operation timed out. - failing node: secret_host_name

    ... 22 common frames omitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant