diff --git a/Shokofin/Utils/GuardedMemoryCache.cs b/Shokofin/Utils/GuardedMemoryCache.cs index 0c91149..0831ddc 100644 --- a/Shokofin/Utils/GuardedMemoryCache.cs +++ b/Shokofin/Utils/GuardedMemoryCache.cs @@ -77,7 +77,7 @@ public TItem GetOrCreate(object key, Action foundAction, Func GetOrCreateAsync(object key, Action found throw; } catch (Exception ex) { - Logger.LogWarning(ex, "Got an unexpected exception for key: {Key}", key); + Logger.LogTrace(ex, "Got an unexpected exception for key: {Key}", key); throw; } } @@ -162,7 +162,7 @@ public TItem GetOrCreate(object key, Func createFactory, MemoryCac throw; } catch (Exception ex) { - Logger.LogWarning(ex, "Got an unexpected exception for key: {Key}", key); + Logger.LogTrace(ex, "Got an unexpected exception for key: {Key}", key); throw; } } @@ -202,7 +202,7 @@ public async Task GetOrCreateAsync(object key, Func> c throw; } catch (Exception ex) { - Logger.LogWarning(ex, "Got an unexpected exception for key: {Key}", key); + Logger.LogTrace(ex, "Got an unexpected exception for key: {Key}", key); throw; } }