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:
Maxim Ganetsky 2021-08-03 00:41:52 +03:00
parent d19cd29754
commit d47af6022a

View File

@ -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;