Skip to content

Commit 03dbc2b

Browse files
authoredApr 26, 2023
corrected error message for loguse exceptions (#55)
1 parent 1200bca commit 03dbc2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Dan.Core/Services/ConsentService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public async Task<bool> LogUse(Accreditation accreditation, EvidenceCode evidenc
279279
}
280280
catch (Exception ex)
281281
{
282-
_logger.LogError($"Failed to check consent status for AccreditationId={accreditation.AccreditationId}, Subject={accreditation.Subject}:\n{ex}");
282+
_logger.LogError($"Failed to log consent used (Altinn) for AccreditationId={accreditation.AccreditationId}, Subject={accreditation.Subject}:\n{ex}");
283283
return false;
284284
}
285285
}

0 commit comments

Comments
 (0)
Please sign in to comment.