Updated TryGetGuid for migration

This commit is contained in:
JPVenson 2024-10-28 09:22:32 +00:00
parent 3d87d0faa2
commit 07ed9a3ea4

View File

@ -127,8 +127,16 @@ namespace Emby.Server.Implementations.Data
return false;
}
result = reader.GetGuid(index);
return true;
try
{
result = reader.GetGuid(index);
return true;
}
catch
{
result = Guid.Empty;
return false;
}
}
public static bool TryGetString(this SqliteDataReader reader, int index, out string result)