mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
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:
@ -11039,9 +11039,9 @@ begin
|
|||||||
Add(Item);
|
Add(Item);
|
||||||
except
|
except
|
||||||
on E:Exception do begin
|
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;
|
Item.Free;
|
||||||
Continue;
|
Break;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user