Fix InvalidArgumentException to include previous exception as the third argument
This commit is contained in:
parent
5fbea63320
commit
0efc7f3666
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
||||||
}
|
}
|
||||||
catch(JsonException $e)
|
catch(JsonException $e)
|
||||||
{
|
{
|
||||||
throw new InvalidArgumentException("Failed to encode json input", $e);
|
throw new InvalidArgumentException("Failed to encode json input", 0, $e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue