diff --git a/src/Momento.Sdk/CacheClient.cs b/src/Momento.Sdk/CacheClient.cs index ce448de5..8f152e1a 100644 --- a/src/Momento.Sdk/CacheClient.cs +++ b/src/Momento.Sdk/CacheClient.cs @@ -55,10 +55,10 @@ public static async Task CreateAsync(IConfiguration config, ICrede { await cacheClient.DataClient.EagerConnectAsync(eagerConnectionTimeout); } - catch (Exception e) + catch (Exception) { cacheClient.Dispose(); - throw e; + throw; } return cacheClient; }