Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit cbbee77

Browse files
Adding an additional warning message
1 parent f14d101 commit cbbee77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitHub.Api/Git/Repository.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ private void CacheHasBeenInvalidated(CacheType cacheType)
206206
}
207207

208208
Func<Exception, bool> catchHandler = (ex) => {
209+
Logger.Warning("Error updating CacheType:{0}", cacheType);
210+
209211
var managedCache = cacheContainer.GetCache(cacheType);
210212
managedCache.CancelInvalidation();
211213

0 commit comments

Comments
 (0)