This commit is contained in:
2024-12-16 12:59:10 +01:00
parent b03437ffa6
commit 8d3c00a26c

View File

@@ -937,12 +937,12 @@ namespace BeWo.Service.ServiceImplementations
if (entity.GkvTransferProtokolle is null)
entity.GkvTransferProtokolle = new List<GkvTransferProtokoll>();
entity.GkvTransferProtokolle.Add(protokoll);
try
{
CreateGkvTransferProtokoll(oid, entity, protokoll);
entity.GkvTransferProtokolle.Add(protokoll);
// Protokoll braucht Oid
DAOFactory.GenericDAO.Update(entity);
@@ -1166,7 +1166,7 @@ namespace BeWo.Service.ServiceImplementations
}
else
{
throw new ArgumentException("Versucht Transfernummer zu laden, invalid state", nameof(state));
throw new ArgumentException($"Versucht Transfernummer zu laden, invalid state: {state}", nameof(state));
}
return new Tuple<int, int>(datenaustauschref, transfernummer);