@@ -102,9 +102,9 @@ namespace WingServerCommon.Interfaces.Cache
result = _loadCacheFromDbWithId(documentId);
if (result == null)
{
- throw new InvalidOperationException($"not found from Db with id:{documentId}");
+ Logger.WriteLineWarn($"not found from Db with id:{documentId}");
+ return result;
}
-
CacheList.Add(result);
lock (_dirtyCodes)