Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Error message, now in array 'error'

  • Loading branch information...
commit cd81c2b82c7cacdcd927fcc0453c7b82d1f22808 1 parent b3cb29b
@krowinski krowinski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  API/lib/jsonRPCClient.php
View
2  API/lib/jsonRPCClient.php
@@ -108,7 +108,7 @@ public function __call( $method, $params )
// check if response is correct
$validateParams = array
(
- !is_null($response['error']) => 'Request have return error: ' . $response['error'],
+ !is_null($response['error']) => 'Request have return error: ' . $response['error']['message'],
$response['id'] != $requestId => 'Request id: '.$requestId.'is different from Response id: ' . $response['id'],
);
Please sign in to comment.
Something went wrong with that request. Please try again.