Degrade (silence) error message in log panel to lcDebug which is mostly not displayed. Works around issue #2960, which I am not able to track down to some code path. Only I have a gutt feeling that threading causes this registry read error.

This commit is contained in:
Ansgar Becker
2012-12-22 14:00:35 +00:00
parent 7b1f1df8ac
commit 1dff9d9814

View File

@ -11039,9 +11039,9 @@ begin
Add(Item);
except
on E:Exception do begin
MainForm.LogSQL(E.ClassName+': '+E.Message+' Sessionpath: '+AppSettings.SessionPath+' Valuename: '+ValueNames[i]+' Raw: '+Raw, lcError);
MainForm.LogSQL(E.ClassName+': '+E.Message+' Sessionpath: '+AppSettings.SessionPath+' Valuename: '+ValueNames[i]+' Raw: '+Raw, lcDebug);
Item.Free;
Continue;
Break;
end;
end;
end;