diff --git a/src/Manticore.php b/src/Manticore.php index e12bd85..3794577 100644 --- a/src/Manticore.php +++ b/src/Manticore.php @@ -130,7 +130,7 @@ class Manticore { if (false === $key = json_encode($key)) { - throw new Exception(); + return null; } } @@ -138,7 +138,7 @@ class Manticore { if (false === $value = json_encode($value)) { - throw new Exception(); + return null; } }