mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-15 15:55:54 +01:00
Changed exception message text in JSON-RPC client to better identify remote exceptions
This commit is contained in:
parent
6bdf5547bc
commit
cf3839ef25
@ -217,7 +217,7 @@ begin
|
||||
fOnReceiveResponse(aJSONRPCObject, lJSONRPCResponse);
|
||||
end;
|
||||
if Assigned(lJSONRPCResponse.Error) and FRaiseExceptionOnError then
|
||||
raise EMVCJSONRPCException.CreateFmt('Error [%d]: %s',
|
||||
raise EMVCJSONRPCException.CreateFmt('[REMOTE EXCEPTION][%d]: %s',
|
||||
[lJSONRPCResponse.Error.Code, lJSONRPCResponse.Error.ErrMessage]);
|
||||
Result := lJSONRPCResponse;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user