Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Cache misses write to STDOUT #10

emirkin opened this Issue Jun 24, 2012 · 2 comments


None yet
2 participants

emirkin commented Jun 24, 2012

I'm not sure if this occurs only with cache misses, but the library shouldn't print anything to STDOUT unnecessarily

1.9.3p125 :013 > cache = IronIO.cache("test") # my wrapper around instantiating the cache client
 => #<IronCache::Client:0x007f907b12e478 @options_...
1.9.3p125 :014 > cache.items.get("123") # this key is not stored at the moment
GET response: #<Rest::Wrappers::RestClientResponseWrapper:0x007f908248dba8 @response="{\"msg\":\"Key not found.\",\"status_code\":404}\n">
#<IronCore::IronResponseError: {"msg":"Key not found.","status_code":404}
 => nil

I shouldn't see that "GET response"


treeder commented Jun 25, 2012

What version of the gem are you using?


treeder commented Jun 25, 2012

Oh, I see it now. Fixing.

@treeder treeder closed this in 6eb3f1a Jun 25, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment