mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-08-08 10:26:52 +01:00
Address security privacy review findings
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9c2eebc4-dcd5-4b85-8113-90772d818900
This commit is contained in:
parent
ec8f891954
commit
d8f372453c
8 changed files with 14 additions and 14 deletions
|
|
@ -5,7 +5,7 @@ codeunit 50209 "Privacy Sample GetLastError Bad"
|
|||
AttachmentFailedErr: Label 'Attachment failed: %1', Comment = '%1 = underlying error';
|
||||
begin
|
||||
if not TryAddAttachment() then
|
||||
Error(StrSubstNo(AttachmentFailedErr, GetLastErrorText(true)));
|
||||
Error(StrSubstNo(AttachmentFailedErr, GetLastErrorText()));
|
||||
end;
|
||||
|
||||
procedure AddAttachmentWithConcatenation()
|
||||
|
|
@ -13,7 +13,7 @@ codeunit 50209 "Privacy Sample GetLastError Bad"
|
|||
AttachmentFailedErr: Label 'Attachment failed: ';
|
||||
begin
|
||||
if not TryAddAttachment() then
|
||||
Error(AttachmentFailedErr + GetLastErrorText(true));
|
||||
Error(AttachmentFailedErr + GetLastErrorText());
|
||||
end;
|
||||
|
||||
[TryFunction]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue