Azure-Samples / azure-cache-redis-samples

This repository contains samples that demonstrate best practices and general recommendations to communicate with Azure Redis Cache Service caches from various Redis client frameworks.
MIT License
69 stars 156 forks source link

ForceReconnect sample code missing catch for ObjectDisposedException #23

Closed stanleysmall-microsoft closed 2 years ago

stanleysmall-microsoft commented 2 years ago

Looks like object disposed error still needs to be handled by caller? Should that error be handled in the BasicRetry catch block?

I see that the ForceReconnectAsync is handling ObjectDIsposedException but I think that error can happen in the caller on the IDatabase too?