You've already forked lazarus-ccr
Server side Exceptions forwarding to client fix.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4510 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -523,6 +523,8 @@ begin
|
|||||||
on e : EBaseRemoteException do begin
|
on e : EBaseRemoteException do begin
|
||||||
f.Clear();
|
f.Clear();
|
||||||
f.SetSerializationStyle(ssNodeSerialization);
|
f.SetSerializationStyle(ssNodeSerialization);
|
||||||
|
if (e.FaultString = '') and (e.Message <> '') then
|
||||||
|
e.FaultString := e.Message;
|
||||||
f.BeginExceptionList(e.FaultCode,e.FaultString);
|
f.BeginExceptionList(e.FaultCode,e.FaultString);
|
||||||
f.EndExceptionList();
|
f.EndExceptionList();
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user