Fix InvalidArgumentException to include previous exception as the third argument

This commit is contained in:
netkas 2025-03-08 00:56:56 -05:00
parent 5fbea63320
commit 0efc7f3666

View file

@ -46,7 +46,7 @@
}
catch(JsonException $e)
{
throw new InvalidArgumentException("Failed to encode json input", $e);
throw new InvalidArgumentException("Failed to encode json input", 0, $e);
}
}