Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.x] Set JsonException as previous exception to Illuminate\Queue\InvalidPayloadException #48884

Closed
wants to merge 5 commits into from

Conversation

crynobone
Copy link
Member

Replace PR #48856

crynobone and others added 2 commits November 2, 2023 07:59
`Illuminate\Queue\InvalidPayloadException`

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@aimeos
Copy link
Contributor

aimeos commented Nov 2, 2023

For me, it looks too complicated to throw/catch/throw an exception. The intention of the previous PR was only to improve the error message to be more useful in the debug view.

@crynobone crynobone marked this pull request as ready for review November 3, 2023 02:12
@taylorotwell taylorotwell reopened this Nov 3, 2023
@taylorotwell
Copy link
Member

What was wrong with #48856

@taylorotwell taylorotwell marked this pull request as draft November 3, 2023 13:44
@crynobone crynobone closed this Dec 11, 2023
@driesvints driesvints deleted the invalid-payload-exception branch December 11, 2023 10:56
@crynobone
Copy link
Member Author

There's not much value changing code to message as it mostly generic: https://www.php.net/manual/en/function.json-last-error.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants