Andy_Omelyanenk
11 years agoNew Contributor
Why aren't there pictures in the Error Log?
Ok, I've got this:
procedure GeneralEvents_OnLogError(Sender; LogParams);
var img;
begin
img := Sys.Desktop.Picture();
img.SaveToFile('c:\temp\123.jpg');
Log.Picture(Sys.Desktop.Picture(), 'Error Screenshot');
end;
It properly saves the error snapshot into c:\temp\123.jpg
but it doesn't seem to attach the picture into the Error Log.
What Am I doing wrong?
procedure GeneralEvents_OnLogError(Sender; LogParams);
var img;
begin
img := Sys.Desktop.Picture();
img.SaveToFile('c:\temp\123.jpg');
Log.Picture(Sys.Desktop.Picture(), 'Error Screenshot');
end;
It properly saves the error snapshot into c:\temp\123.jpg
but it doesn't seem to attach the picture into the Error Log.
What Am I doing wrong?