Skip to content

Commit

Permalink
DEBUG DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbourdeau committed Jun 18, 2018
1 parent 205c775 commit bec782c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AlgoliaSearch/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public static function encode($value, $options = 0)
public static function decode($json, $assoc = false, $depth = 512)
{
$value = json_decode($json, $assoc, $depth);
if (null === $value)
print_r($json);

self::checkError();

Expand Down

0 comments on commit bec782c

Please sign in to comment.