FpDebug: provide trace debugln for errors in worker threads

This commit is contained in:
Martin 2022-05-12 02:01:45 +02:00
parent a68a32a9b5
commit ef032fca2d

View File

@ -865,6 +865,7 @@ begin
on E: Exception do begin
WorkItem.FError := E;
DebugLn(FQueue.FLogGroup or DBG_ERRORS, '%s!%s Thread-Workitem raised exception: "%s" => %s: "%s"', [dbgsThread, DbgSTime, WorkItem.DebugText, E.Classname, E.Message]);
DumpExceptionBackTrace(FQueue.FLogGroup or DBG_ERRORS);
end;
end;
try