We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11be192 commit 2124d2cCopy full SHA for 2124d2c
src/Parse/ParseClient.php
@@ -495,7 +495,11 @@ public static function _request(
495
$decoded = json_decode($response, true);
496
497
if(!isset($decoded) && $response !== '') {
498
- throw new ParseException('Bad Request. Could not decode Response', -1);
+ throw new ParseException(
499
+ 'Bad Request. Could not decode Response: '.
500
+ '('.json_last_error().') '.json_last_error_msg(),
501
+ -1
502
+ );
503
504
}
505
0 commit comments