This commit is contained in:
CortexCore
2024-07-29 14:37:00 +08:00
parent 18d888dfce
commit d044175e77
3 changed files with 23 additions and 9 deletions

View File

@@ -357,7 +357,18 @@ namespace BITKit.Net
returnWriter.Write(true);
if (value is not null)
{
BITBinary.Write(returnWriter, value);
try
{
BITBinary.Write(returnWriter, value);
}
catch (NullReferenceException e)
{
throw;
}
catch (Exception e)
{
throw;
}
}
}
else