fix typo, rename column, logging

This commit is contained in:
Jonathan Jenne
2023-12-07 09:55:31 +01:00
parent cd23c5b974
commit 752dbe3718
3 changed files with 6 additions and 3 deletions

View File

@@ -53,6 +53,9 @@ namespace EnvelopeGenerator.Web.Services
var receiverSignature = result.Item2;
var receiverId = receiverModel.GetReceiverIdBySignature(receiverSignature);
logger.Debug("Resolved receiver signature to receiverId [{0}]", receiverId);
logger.Debug("Loading envelope..");
Envelope? envelope = envelopeModel.GetByUuid(envelopeUuid);
if (envelope == null)
@@ -75,7 +78,7 @@ namespace EnvelopeGenerator.Web.Services
if (receiver == null)
{
logger.Warn("Receiver not found");
logger.Warn("Receiver [{0}] not found", receiverId);
throw new NullReferenceException("Receiver not found");
}