Skip to content

CheckedOperationTimeoutException producing incorrect error message #2

@dcrissman

Description

@dcrissman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions