cnblogs / EnyimMemcachedCore

.NET Memcached client. Available on https://www.nuget.org/packages/EnyimMemcachedCore
Apache License 2.0
162 stars 45 forks source link

Write error throws Exception without internal catch #108

Closed kt81 closed 5 years ago

kt81 commented 5 years ago

Read operation returns result object that be marked as failed or null when it fails. But write operation throws System.Exception in same situation.

imo, it should throws System.IO.IOException instead of Exception so that MemcachedNode may catch it.

cnblogs-dudu commented 5 years ago

Thanks. I'm trying to fix it.