Skip to content

Commit 460fe29

Browse files
authored
Merge pull request #136 from ratosh/getasync_exception
GetAsync hiding exceptions
2 parents 984331d + dfa4144 commit 460fe29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Enyim.Caching/MemcachedClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public async Task<IGetOperationResult<T>> GetAsync<T>(string key)
210210
catch (Exception ex)
211211
{
212212
_logger.LogError(0, ex, $"{nameof(GetAsync)}(\"{key}\")");
213-
result.Fail(ex.Message);
213+
result.Fail(ex.Message, ex);
214214
return result;
215215
}
216216
}

0 commit comments

Comments
 (0)