Skip to content

Commit

Permalink
fix: production logging for magda call reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Lesage committed Apr 10, 2024
1 parent a3f0446 commit 7c5defb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AssociationRegistry.Magda/MagdaClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public MagdaClient(
Throw<ArgumentNullException>
.IfNullOrWhiteSpace(_magdaOptions.GeefOndernemingVkboEndpoint, $"{nameof(MagdaOptionsSection.GeefOndernemingVkboEndpoint)}");

_logger.LogInformation($"MAGDA Call Reference - KBO nummer '{kbonummer}' met referentie '{reference.Reference}'");

var unsignedEnvelope = MakeEnvelope(GeefOndernemingVKBOBody.CreateRequest(kbonummer, reference.Reference, _magdaOptions));
var clientCertificate = GetMagdaClientCertificate(_magdaOptions);
var signedEnvelope = unsignedEnvelope.SignEnvelope(clientCertificate);
Expand Down

0 comments on commit 7c5defb

Please sign in to comment.