Closed Nagasaki45 closed 7 years ago
I started a cache with
supervisor(ConCache, [[], [name: :queue]])
And then, by mistake, called ConCache.put(:my_cache, :key, :value) (notice the wrong cache name). The call just hangs. Wouldn't it be better for it to throw an exception instead?
ConCache.put(:my_cache, :key, :value)
Elixir: 1.4.4 con_cache: 0.12.0
Thanks for reporting!
I started a cache with
And then, by mistake, called
ConCache.put(:my_cache, :key, :value)
(notice the wrong cache name). The call just hangs. Wouldn't it be better for it to throw an exception instead?Elixir: 1.4.4 con_cache: 0.12.0