Improved logged message for Exception using LogException

This commit is contained in:
Daniele Teti 2023-10-18 16:57:02 +02:00
parent fe1978b646
commit 83cf604f30

View File

@ -191,7 +191,7 @@ end;
procedure LogException(const E: Exception; const AMessage: String);
begin
LogE(E.ClassName + ': ' + AMessage);
LogE(E.ClassName + ': ' + E.Message + ' - (Custom Message: ' + AMessage + ')');
end;
procedure LogEnterMethod(const AMethodName: string);