mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 20:28:19 +02:00
IDEIntf: Reverted part of 79519f5acc
(Improve an exception error message in OI for issue #35322).
This message improvement didn't help in case of issue #35322 ("Access violation" became "Access violation with value "(True)"") and broke error messages in object inspector in case the entered name there is not a valid Pascal identifier.
This commit is contained in:
parent
d19cd29754
commit
d47af6022a
@ -1593,7 +1593,7 @@ begin
|
||||
{$IFNDEF DoNotCatchOIExceptions}
|
||||
except
|
||||
on E: Exception do begin
|
||||
MessageDlg(oisError, E.Message + ' with value "'+NewValue+'"', mtError, [mbOk], 0);
|
||||
MessageDlg(oisError, E.Message, mtError, [mbOk], 0);
|
||||
isExcept := true;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user